keep job creation date as text for compatibility

This commit is contained in:
Rdeisenroth 2025-11-07 23:40:03 +01:00
parent 882b4db228
commit f3fa0a1944
No known key found for this signature in database
GPG key ID: 197008FA42DE7127
3 changed files with 3 additions and 3 deletions

View file

@ -9,7 +9,7 @@ CREATE TABLE "users" (
CREATE TABLE "jobs" (
"id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
"user_id" INTEGER NOT NULL,
"date_created" DATETIME NOT NULL,
"date_created" TEXT NOT NULL,
"status" TEXT NOT NULL DEFAULT 'not started',
"num_files" INTEGER NOT NULL DEFAULT 0,
CONSTRAINT "jobs_user_id_fkey" FOREIGN KEY ("user_id") REFERENCES "users" ("id") ON DELETE RESTRICT ON UPDATE CASCADE