fix out-of-date sql in nvr check

This commit is contained in:
Scott Lamb 2021-10-26 14:32:37 -07:00
parent 96cc02d48e
commit 7ad5bf56a7

View File

@ -80,7 +80,7 @@ pub fn run(conn: &mut rusqlite::Connection, opts: &Options) -> Result<i32, Error
{
let mut dir_stmt = conn.prepare(
r#"
select d.id, d.path, d.uuid, d.last_complete_open_id, o.uuid
select d.id, d.config, d.uuid, d.last_complete_open_id, o.uuid
from sample_file_dir d left join open o on (d.last_complete_open_id = o.id)
"#,
)?;