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: tweak latest schema file name
Stevenfa2b01cfb1f4
diff --git a/store/migration/mysql/dev/LATEST_SCHEMA.sql b/store/migration/mysql/dev/LATEST.sqlsimilarity index 100%rename from store/migration/mysql/dev/LATEST_SCHEMA.sqlrename to store/migration/mysql/dev/LATEST.sqldiff --git a/store/migration/mysql/prod/LATEST_SCHEMA.sql b/store/migration/mysql/prod/LATEST.sqlsimilarity index 100%rename from store/migration/mysql/prod/LATEST_SCHEMA.sqlrename to store/migration/mysql/prod/LATEST.sqldiff --git a/store/migration/postgres/dev/LATEST_SCHEMA.sql b/store/migration/postgres/dev/LATEST.sqlsimilarity index 100%rename from store/migration/postgres/dev/LATEST_SCHEMA.sqlrename to store/migration/postgres/dev/LATEST.sqldiff --git a/store/migration/postgres/prod/LATEST_SCHEMA.sql b/store/migration/postgres/prod/LATEST.sqlsimilarity index 100%rename from store/migration/postgres/prod/LATEST_SCHEMA.sqlrename to store/migration/postgres/prod/LATEST.sqldiff --git a/store/migration/sqlite/dev/LATEST_SCHEMA.sql b/store/migration/sqlite/dev/LATEST.sqlsimilarity index 100%rename from store/migration/sqlite/dev/LATEST_SCHEMA.sqlrename to store/migration/sqlite/dev/LATEST.sqldiff --git a/store/migration/sqlite/prod/LATEST_SCHEMA.sql b/store/migration/sqlite/prod/LATEST.sqlsimilarity index 100%rename from store/migration/sqlite/prod/LATEST_SCHEMA.sqlrename to store/migration/sqlite/prod/LATEST.sqldiff --git a/store/migrator.go b/store/migrator.goindex 34a8b8c09..f50300fb0 100644--- a/store/migrator.go+++ b/store/migrator.go@@ -29,7 +29,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.sql")// Migrate applies the latest schema to the database.