initial schema for user authentication (#26)

This is only the database schema, which I'm adding now in the hopes of
freezing schema version 3. There's no way yet to create users, much less
actually authenticate.
This commit is contained in:
Scott Lamb
2018-03-21 23:55:21 -07:00
parent dfee66c84b
commit 1c9f2a4d83
3 changed files with 95 additions and 0 deletions

View File

@@ -206,6 +206,7 @@ is never used.
Version 3 adds over version 1:
* user authentication
* recording of sub streams (splits a new `stream` table out of `camera`)
* a per-stream knob `flush_if_sec` meant to reduce database commits (and
thus SSD write cycles). This improves practicality of many streams.