Added migrating Holding.quantity data type

This commit is contained in:
dankito 2024-10-17 23:26:15 +02:00
parent a5b4540443
commit 2c32c1970c
1 changed files with 6 additions and 1 deletions

View File

@ -6,4 +6,9 @@ CREATE TABLE IF NOT EXISTS ImageSettings (
width INTEGER, -- not used right now, add it just in case width INTEGER, -- not used right now, add it just in case
frequency INTEGER frequency INTEGER
); );
ALTER TABLE Holding DROP COLUMN quantity;
ALTER TABLE Holding ADD COLUMN quantity REAL;