summaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
authorKees Bos <k.bos@capitar.com>2015-06-11 11:35:25 +0200
committerKees Bos <k.bos@capitar.com>2015-06-11 11:35:25 +0200
commitde697a1c45e8afbdd32687b9b5d203732ce5e62a (patch)
treee238fb1aa3bb944f9f1ffc64f20f8093e495e989 /ui
parent00aa115898e88f1a979fa3074bbcb25ac8b3ab4c (diff)
downloadinfinitytier-de697a1c45e8afbdd32687b9b5d203732ce5e62a.tar.gz
infinitytier-de697a1c45e8afbdd32687b9b5d203732ce5e62a.zip
Change schema to enforce foreing keys
The foreign keys have 'ON DELETE CASCADE' to simplify the removal of networks etc. (controller code) Some unique constraints are replaced with a multi column primary key. To update an existing database: * install updated binaries * stop service * sqlite3 controller.db .dump | \ egrep '((^PRAGMA)|(^BEGIN)|(^INSERT)|(^COMMIT))' | \ grep -v 'schemaVersion' > data.sql * mv controller.db controller.db.backup * start service * stop service * sqlite3 controller.db < data.sql * start service
Diffstat (limited to 'ui')
0 files changed, 0 insertions, 0 deletions