Skip to content

Commit

Permalink
Fixed missing semicolon and version in the upgrade script
Browse files Browse the repository at this point in the history
  • Loading branch information
StoneStepsInc committed Oct 6, 2024
1 parent 374b920 commit 5fb8897
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sql/upgrade-db_6.0-7.0.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5fb8897

Please sign in to comment.