mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2024-12-26 07:05:56 -05:00
fix upgrade procedure broken in dfee66c
This commit is contained in:
parent
1c9f2a4d83
commit
2ff7ecb6f4
@ -263,7 +263,7 @@ pub fn run(args: &super::Args, tx: &rusqlite::Transaction) -> Result<(), Error>
|
||||
from
|
||||
old_recording r cross join open o;
|
||||
|
||||
insert into recording_integrity
|
||||
insert into recording_integrity (composite_id, local_time_delta_90k, sample_file_sha1)
|
||||
select
|
||||
r.composite_id,
|
||||
case when r.run_offset > 0 then local_time_delta_90k else null end,
|
||||
|
Loading…
Reference in New Issue
Block a user