better ui for anilist entries & fixes
This commit is contained in:
@@ -46,6 +46,12 @@ async function ensureUserDataDB(dbPath) {
|
||||
status TEXT NOT NULL,
|
||||
progress INTEGER NOT NULL DEFAULT 0,
|
||||
score INTEGER,
|
||||
|
||||
start_date DATE,
|
||||
end_date DATE,
|
||||
repeat_count INTEGER NOT NULL DEFAULT 0,
|
||||
notes TEXT,
|
||||
is_private BOOLEAN NOT NULL DEFAULT 0,
|
||||
updated_at DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
UNIQUE (user_id, entry_id),
|
||||
FOREIGN KEY (user_id) REFERENCES User(id) ON DELETE CASCADE
|
||||
@@ -89,8 +95,6 @@ async function ensureAnilistSchema(db) {
|
||||
id INTEGER PRIMARY KEY,
|
||||
title TEXT,
|
||||
updatedAt INTEGER,
|
||||
cache_created_at INTEGER DEFAULT 0,
|
||||
cache_ttl_ms INTEGER DEFAULT 0,
|
||||
full_data JSON
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user