Revert "chore(db): update schema version in the same transaction as migration (#10321)"

This reverts commit 4459438245.
This commit is contained in:
Jakob Borg
2025-08-31 12:04:15 +02:00
parent 4ad3f07691
commit 21ad99c80a
2 changed files with 27 additions and 72 deletions

View File

@@ -2,8 +2,7 @@ These SQL scripts are embedded in the binary.
Scripts in `schema/` are run at every startup, in alphanumerical order.
Scripts in `migrations/` are run when a migration is needed; they must begin
Scripts in `migrations/` are run when a migration is needed; the must begin
with a number that equals the schema version that results from that
migration. Only one script per schema version must exist.
Migrations are not run on initial database creation, so the scripts in `schema/`
should create the latest version.
migration. Migrations are not run on initial database creation, so the
scripts in `schema/` should create the latest version.