Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.
Go dockerfossgomarkdownmemomicroblognote-takingnotesopen-sourceown-your-datareactself-hostedsqlitetimeline
chore: fix tests
Stevenccd3fdcd384a
diff --git a/store/migration/mysql/dev/LATEST__SCHEMA.sql b/store/migration/mysql/dev/LATEST_SCHEMA.sqlsimilarity index 100%rename from store/migration/mysql/dev/LATEST__SCHEMA.sqlrename to store/migration/mysql/dev/LATEST_SCHEMA.sqldiff --git a/store/migration/mysql/prod/LATEST__SCHEMA.sql b/store/migration/mysql/prod/LATEST_SCHEMA.sqlsimilarity index 100%rename from store/migration/mysql/prod/LATEST__SCHEMA.sqlrename to store/migration/mysql/prod/LATEST_SCHEMA.sqldiff --git a/store/migration/postgres/dev/LATEST__SCHEMA.sql b/store/migration/postgres/dev/LATEST_SCHEMA.sqlsimilarity index 100%rename from store/migration/postgres/dev/LATEST__SCHEMA.sqlrename to store/migration/postgres/dev/LATEST_SCHEMA.sqldiff --git a/store/migration/postgres/prod/LATEST__SCHEMA.sql b/store/migration/postgres/prod/LATEST_SCHEMA.sqlsimilarity index 100%rename from store/migration/postgres/prod/LATEST__SCHEMA.sqlrename to store/migration/postgres/prod/LATEST_SCHEMA.sqldiff --git a/store/migration/sqlite/dev/LATEST__SCHEMA.sql b/store/migration/sqlite/dev/LATEST_SCHEMA.sqlsimilarity index 100%rename from store/migration/sqlite/dev/LATEST__SCHEMA.sqlrename to store/migration/sqlite/dev/LATEST_SCHEMA.sqldiff --git a/store/migration/sqlite/prod/LATEST__SCHEMA.sql b/store/migration/sqlite/prod/LATEST_SCHEMA.sqlsimilarity index 100%rename from store/migration/sqlite/prod/LATEST__SCHEMA.sqlrename to store/migration/sqlite/prod/LATEST_SCHEMA.sqldiff --git a/store/migrator.go b/store/migrator.goindex 4b0c61015..c08bf0db3 100644--- a/store/migrator.go+++ b/store/migrator.go@@ -23,7 +23,7 @@ const (MigrateFileNameSplit = "__"// LatestSchemaFileName is the name of the latest schema file.// This file is used to apply the latest schema when no migration history is found.- LatestSchemaFileName = "latest_schema.sql"+ LatestSchemaFileName = "LATEST_SCHEMA.sql")//go:embed migration