From 310b5219b38427f0c2c7ba57225afdd8f3064380 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 8 Jul 2020 15:51:46 +0200 Subject: Add new abuses tests --- server/initializers/migrations/0520-abuses-split.ts | 2 -- 1 file changed, 2 deletions(-) (limited to 'server/initializers/migrations') 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: { await utils.sequelize.query(` CREATE TABLE IF NOT EXISTS "commentAbuse" ( "id" serial, - "deletedComment" jsonb DEFAULT NULL, "abuseId" integer NOT NULL REFERENCES "abuse" ("id") ON DELETE CASCADE ON UPDATE CASCADE, "videoCommentId" integer REFERENCES "videoComment" ("id") ON DELETE SET NULL ON UPDATE CASCADE, "createdAt" timestamp WITH time zone NOT NULL, "updatedAt" timestamp WITH time zone NOT NULL, - "commentId" integer REFERENCES "videoComment" ("id") ON DELETE SET NULL ON UPDATE CASCADE, PRIMARY KEY ("id") ); `) -- cgit v1.2.3