fixed column position in db

This commit is contained in:
Shamicen 2024-03-03 05:57:50 +01:00
parent 1bd98d7e46
commit 48ace306a1

View file

@ -25,8 +25,8 @@ CREATE TABLE mangas(
update_strategy INTEGER AS UpdateStrategy NOT NULL DEFAULT 0, update_strategy INTEGER AS UpdateStrategy NOT NULL DEFAULT 0,
calculate_interval INTEGER DEFAULT 0 NOT NULL, calculate_interval INTEGER DEFAULT 0 NOT NULL,
last_modified_at INTEGER NOT NULL DEFAULT 0, last_modified_at INTEGER NOT NULL DEFAULT 0,
last_modified_at_local INTEGER, favorite_modified_at INTEGER,
favorite_modified_at INTEGER last_modified_at_local INTEGER
); );
CREATE INDEX library_favorite_index ON mangas(favorite) WHERE favorite = 1; CREATE INDEX library_favorite_index ON mangas(favorite) WHERE favorite = 1;