Skip to content

Commit

Permalink
Comment the drop column statement for the sqlite migration for now.
Browse files Browse the repository at this point in the history
That is only supported in the rather new version that is not avialable
everywhere.

fixes bug #162
  • Loading branch information
dragotin committed Aug 9, 2022
1 parent 3430c93 commit 6ce8bfc
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions database/sqlite3/migration/23_dbmigrate.sql
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ CREATE TABLE catItemUsage (
PRIMARY KEY(catId, itemId)
);


ALTER TABLE Catalog DROP COLUMN lastUsed;
ALTER TABLE Catalog DROP COLUMN useCounter;
-- These statements are only supported starting from 3.35
-- https://sqlite.org/changes.html#version_3_35_0
-- rather disabled for now for robustness
-- ALTER TABLE Catalog DROP COLUMN lastUsed;
-- ALTER TABLE Catalog DROP COLUMN useCounter;

0 comments on commit 6ce8bfc

Please sign in to comment.