Skip to content

πŸ“š The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.

Update migrations.go

louloudev5991cb53c24795
diff --git a/backend/app/migrations.go b/backend/app/migrations.go
index 659aaf90..131f6427 100644
--- a/backend/app/migrations.go
+++ b/backend/app/migrations.go
@@ -16,9 +16,6 @@ func Migrate(config *Config) {
workingDir, _ := os.Getwd()
configCpwd := os.Getenv("CONFIG_CPWD")
- if configCpwd == "" {
- configCpwd = ""
- }
absPath := filepath.Join(workingDir, configCpwd, "migrations")
if runtime.GOOS == "windows" {