diff --git a/backend/app/db.py b/backend/app/db.py index ad3c496..441e77a 100644 --- a/backend/app/db.py +++ b/backend/app/db.py @@ -210,7 +210,7 @@ def init_db() -> None: conn.execute( "CREATE INDEX IF NOT EXISTS idx_shorts_jobs_room_day ON shorts_jobs(room_id, push_date, status)" ) - conn.execute( + conn.executescript( """ CREATE TABLE IF NOT EXISTS tiktok_channels ( id TEXT PRIMARY KEY,