aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorClément Lassieur <clement@lassieur.org>2018-07-07 00:31:14 +0200
committerClément Lassieur <clement@lassieur.org>2018-07-14 21:35:13 +0200
commit03c4095f0a1a614af3b1e1cd63270d28d98b39a3 (patch)
tree1f209d7c73ce97febc6935493f232ad9cb9f39b3 /tests
parentcc078a0e98906044941a0ce6a7328d62dac3df1f (diff)
downloadcuirass-03c4095f0a1a614af3b1e1cd63270d28d98b39a3.tar
cuirass-03c4095f0a1a614af3b1e1cd63270d28d98b39a3.tar.gz
database: Add support for database upgrades.
* src/cuirass/database.scm (%package-sql-dir): New parameter. (db-load, db-schema-version, db-set-schema-version, latest-db-schema-version, schema-upgrade-file, db-upgrade): New procedures. (db-init): Set version corresponding to the existing upgrade-n.sql files. (db-open): If database exists, upgrade it.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions