Jakob Borg 21ad99c80a Revert "chore(db): update schema version in the same transaction as migration (#10321)" 2 months ago
..
migrations 4ad3f07691 chore(db): migration for previous commits (#10319) 2 months ago
schema c918299eab refactor(db): slightly improve insert performance (#10318) 2 months ago
README.md 21ad99c80a Revert "chore(db): update schema version in the same transaction as migration (#10321)" 2 months ago

README.md

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; the must begin with a number that equals the schema version that results from that migration. Migrations are not run on initial database creation, so the scripts in schema/ should create the latest version.