Skip to content
Snippets Groups Projects
migration.sql 255 B
-- CreateTable
CREATE TABLE "Message" (
    "id" INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
    "author" TEXT,
    "gameId" TEXT,
    "title" TEXT,
    "content" TEXT NOT NULL,
    "sentAt" DATETIME DEFAULT CURRENT_TIMESTAMP,
    "updatedAt" DATETIME
);