Files
syncthing/internal/db/sqlite/sql
Simon Frei c9236b1adc chore: stop treating dirs as having size 128 (#10750)
Resp. directories for the database, and both dirs and symlinks for
`FileInfo.FileSize`. Instead handle it in the UI progress percentage. We
even already have special cases there for deletions, might as well
handle directories just like any other zero-sized needed item there.

This went through the very thorough testing of running it on my laptop,
the migration was applied and it seemed to be working fine after.

---------

Signed-off-by: Simon Frei <freisim93@gmail.com>
2026-06-22 20:32:03 +02:00
..

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.