rowt/staging-diff.sql
2024-01-10 14:14:06 +01:00

10 lines
283 B
SQL

CREATE TABLE IF NOT EXISTS "notification" (
"id" integer NOT NULL PRIMARY KEY AUTOINCREMENT,
"user_id" INTEGER NOT NULL REFERENCES user(id),
"message" TEXT NOT NULL,
"read_at" DATETIME,
"created_at" DATETIME DEFAULT CURRENT_TIMESTAMP,
"category" TEXT NOT NULL,
"link" TEXT
);