mirror of
https://github.com/syncthing/syncthing.git
synced 2026-03-25 17:53:33 -04:00
No migration on this as it has no practical impact, just a slight cleanup for new installations. Also a refactor of how we declare single column primary keys, for consistency. Signed-off-by: Jakob Borg <jakob@kastelo.net>
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.