full comments system

This commit is contained in:
Oliver Bryan
2026-01-21 19:10:28 +00:00
parent 0d2195cab4
commit 8f87fc8acf
28 changed files with 1451 additions and 7 deletions

View File

@@ -0,0 +1,8 @@
CREATE TABLE "IssueComment" (
"id" integer PRIMARY KEY GENERATED ALWAYS AS IDENTITY,
"issueId" integer NOT NULL REFERENCES "Issue" ("id") ON DELETE CASCADE,
"userId" integer NOT NULL REFERENCES "User" ("id") ON DELETE CASCADE,
"body" varchar(2048) NOT NULL,
"createdAt" timestamp NOT NULL DEFAULT now(),
"updatedAt" timestamp NOT NULL DEFAULT now()
);