aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/migrations/0520-abuses-split.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/initializers/migrations/0520-abuses-split.ts')
-rw-r--r--server/initializers/migrations/0520-abuses-split.ts2
1 files changed, 0 insertions, 2 deletions
diff --git a/server/initializers/migrations/0520-abuses-split.ts b/server/initializers/migrations/0520-abuses-split.ts
index 5898d501f..b02a21989 100644
--- a/server/initializers/migrations/0520-abuses-split.ts
+++ b/server/initializers/migrations/0520-abuses-split.ts
@@ -43,12 +43,10 @@ async function up (utils: {
43 await utils.sequelize.query(` 43 await utils.sequelize.query(`
44 CREATE TABLE IF NOT EXISTS "commentAbuse" ( 44 CREATE TABLE IF NOT EXISTS "commentAbuse" (
45 "id" serial, 45 "id" serial,
46 "deletedComment" jsonb DEFAULT NULL,
47 "abuseId" integer NOT NULL REFERENCES "abuse" ("id") ON DELETE CASCADE ON UPDATE CASCADE, 46 "abuseId" integer NOT NULL REFERENCES "abuse" ("id") ON DELETE CASCADE ON UPDATE CASCADE,
48 "videoCommentId" integer REFERENCES "videoComment" ("id") ON DELETE SET NULL ON UPDATE CASCADE, 47 "videoCommentId" integer REFERENCES "videoComment" ("id") ON DELETE SET NULL ON UPDATE CASCADE,
49 "createdAt" timestamp WITH time zone NOT NULL, 48 "createdAt" timestamp WITH time zone NOT NULL,
50 "updatedAt" timestamp WITH time zone NOT NULL, 49 "updatedAt" timestamp WITH time zone NOT NULL,
51 "commentId" integer REFERENCES "videoComment" ("id") ON DELETE SET NULL ON UPDATE CASCADE,
52 PRIMARY KEY ("id") 50 PRIMARY KEY ("id")
53 ); 51 );
54 `) 52 `)