moonfire-nvr/db
Scott Lamb c0da1ef880 make v1->v3 upgrade work with --features=bundled
--features=bundled enables -DSQLITE_DEFAULT_FOREIGN_KEYS=1, and so some
operations have to be done in the proper order.

* enable foreign key enforcement all the time, so I test this more reliably.
* reorder some parts of the v1->v3 order. foreign key enforcement is
  immediate (rather than deferred) by default. and ensure
  old_recording_playback isn't left with a dangling reference to old_recording
  at the v2 stage. Instead, wait until v3 to delete tables it depends on.
2018-03-22 09:05:40 -07:00
..
testdata initial split of database to a separate crate 2018-02-20 23:15:39 -08:00
upgrade make v1->v3 upgrade work with --features=bundled 2018-03-22 09:05:40 -07:00
Cargo.toml tests and fixes for Writer and Syncer 2018-03-07 04:42:46 -08:00
check.rs new recording_integrity table 2018-03-09 13:37:30 -08:00
coding.rs initial split of database to a separate crate 2018-02-20 23:15:39 -08:00
db.rs save timestamps along with opens 2018-03-10 16:15:36 -08:00
dir.rs tests and fixes for Writer and Syncer 2018-03-07 04:42:46 -08:00
lib.rs tests and fixes for Writer and Syncer 2018-03-07 04:42:46 -08:00
raw.rs new recording_integrity table 2018-03-09 13:37:30 -08:00
recording.rs view in-progress recordings! 2018-03-02 15:40:32 -08:00
schema.proto more safety around adding/deleting dirs 2018-03-01 12:24:32 -08:00
schema.rs initial split of database to a separate crate 2018-02-20 23:15:39 -08:00
schema.sql initial schema for user authentication (#26) 2018-03-21 23:57:45 -07:00
testutil.rs save timestamps along with opens 2018-03-10 16:15:36 -08:00
writer.rs save timestamps along with opens 2018-03-10 16:15:36 -08:00