From 5fb889715f35d6d8c4e3e105e3dab7d17044ef81 Mon Sep 17 00:00:00 2001 From: Stone Steps Date: Sun, 6 Oct 2024 19:03:55 -0400 Subject: [PATCH] Fixed missing semicolon and version in the upgrade script --- sql/upgrade-db_6.0-7.0.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sql/upgrade-db_6.0-7.0.sql b/sql/upgrade-db_6.0-7.0.sql index 537c91c..50fae0a 100644 --- a/sql/upgrade-db_6.0-7.0.sql +++ b/sql/upgrade-db_6.0-7.0.sql @@ -53,14 +53,14 @@ INSERT INTO upgrades ( upgrade_time ) VALUES ( (select user_version from pragma_user_version()), - 50, -- VER_TO + 70, -- VER_TO CAST(strftime('%s', 'now') AS INTEGER) ); ALTER TABLE scans ADD COLUMN completed_time INTEGER NULL; -- cannot obtain scan end time from anywhere, so just update it to the scan time to make it visible -UPDATE scans SET completed_time=scan_time +UPDATE scans SET completed_time=scan_time; -- -- Set the target database version