aboutsummaryrefslogtreecommitdiff
path: root/data/bas_k2.csv
diff options
context:
space:
mode:
authorAnders Betts <anders.betts@gmail.com>2026-09-20 09:51:28 +0200
committerAnders Betts <anders.betts@gmail.com>2026-09-20 09:51:28 +0200
commitb5349b52e757399d8ddb6325120a58e7d9e6e1f6 (patch)
treefa6771abbcaf5c654968d5e8c5ff27c0ec292564 /data/bas_k2.csv
parent67179a7ae9f6e399701434775a2ef345367b76bf (diff)
downloadbokf-b5349b52e757399d8ddb6325120a58e7d9e6e1f6.tar.gz
bokf-b5349b52e757399d8ddb6325120a58e7d9e6e1f6.zip
db: snapshot the database before forward migrations
When db_open finds an older schema version, write a consistent VACUUM INTO copy to <backup_dir>/pre-migration-v<old>-<UTC>.db before the first migration statement. A taken name gets a numeric suffix; if the snapshot fails, the open and the migration abort.
Diffstat (limited to 'data/bas_k2.csv')
0 files changed, 0 insertions, 0 deletions