diff --git a/store/migration/postgres/dev/LATEST_SCHEMA.sql b/store/migration/postgres/dev/LATEST.sql similarity index 100% rename from store/migration/postgres/dev/LATEST_SCHEMA.sql rename to store/migration/postgres/dev/LATEST.sql diff --git a/store/migration/postgres/prod/LATEST_SCHEMA.sql b/store/migration/postgres/prod/LATEST.sql similarity index 100% rename from store/migration/postgres/prod/LATEST_SCHEMA.sql rename to store/migration/postgres/prod/LATEST.sql diff --git a/store/migration/sqlite/dev/LATEST_SCHEMA.sql b/store/migration/sqlite/dev/LATEST.sql similarity index 100% rename from store/migration/sqlite/dev/LATEST_SCHEMA.sql rename to store/migration/sqlite/dev/LATEST.sql diff --git a/store/migration/sqlite/prod/LATEST_SCHEMA.sql b/store/migration/sqlite/prod/LATEST.sql similarity index 100% rename from store/migration/sqlite/prod/LATEST_SCHEMA.sql rename to store/migration/sqlite/prod/LATEST.sql diff --git a/store/migrator.go b/store/migrator.go index 71ce486..097e53d 100644 --- a/store/migrator.go +++ b/store/migrator.go @@ -31,7 +31,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.