mirror of
https://github.com/syncthing/syncthing.git
synced 2026-05-12 00:54:12 -04:00
Revert "chore(db): update schema version in the same transaction as migration (#10321)"
This reverts commit 4459438245.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user