|
1 月之前 | |
---|---|---|
.. | ||
migrations | 9ee208b441 chore(sqlite): use normalised tables for file names and versions (#10383) | 1 月之前 |
schema | 9ee208b441 chore(sqlite): use normalised tables for file names and versions (#10383) | 1 月之前 |
README.md | e41d6b9c1e fix(db): apply all migrations and schema in one transaction | 1 月之前 |
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
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.