moonfire-nvr/server/db
Scott Lamb 7f711eedeb add some mutation flags to moonfire-nvr check
For recovering from corruption, as in #107. These should aid in
restoring database integrity without throwing away the entire database.
I only added the conditions that came up in #107, so far.

*   "Missing ... row" => --trash-orphan-sample-files
*   "Recording ... missing file" => --delete-orphan-rows
*   "bad video_index" => --trash-corrupt-rows
2021-02-11 20:03:28 -08:00
..
proto restructure into "server" and "ui" subdirs 2021-01-22 22:01:17 -08:00
testdata restructure into "server" and "ui" subdirs 2021-01-22 22:01:17 -08:00
upgrade overhaul error messages 2021-02-11 10:57:09 -08:00
Cargo.toml upgrade some other deps 2021-01-27 12:42:29 -08:00
auth.rs restructure into "server" and "ui" subdirs 2021-01-22 22:01:17 -08:00
build.rs restructure into "server" and "ui" subdirs 2021-01-22 22:01:17 -08:00
check.rs add some mutation flags to moonfire-nvr check 2021-02-11 20:03:28 -08:00
coding.rs restructure into "server" and "ui" subdirs 2021-01-22 22:01:17 -08:00
compare.rs restructure into "server" and "ui" subdirs 2021-01-22 22:01:17 -08:00
db.rs compare schema version on "moonfire-nvr check" 2021-02-11 15:21:05 -08:00
dir.rs overhaul error messages 2021-02-11 10:57:09 -08:00
fs.rs restructure into "server" and "ui" subdirs 2021-01-22 22:01:17 -08:00
lib.rs restructure into "server" and "ui" subdirs 2021-01-22 22:01:17 -08:00
raw.rs restructure into "server" and "ui" subdirs 2021-01-22 22:01:17 -08:00
recording.rs restructure into "server" and "ui" subdirs 2021-01-22 22:01:17 -08:00
schema.sql restructure into "server" and "ui" subdirs 2021-01-22 22:01:17 -08:00
signal.rs restructure into "server" and "ui" subdirs 2021-01-22 22:01:17 -08:00
testutil.rs restructure into "server" and "ui" subdirs 2021-01-22 22:01:17 -08:00
writer.rs restructure into "server" and "ui" subdirs 2021-01-22 22:01:17 -08:00