From ecc9881204a8e8f90604d0e66317f2b6f1f9fd6d Mon Sep 17 00:00:00 2001 From: caipira113 Date: Wed, 25 Oct 2023 23:28:31 +0900 Subject: [PATCH] fix --- .../migration/1696604572677-poll_vote_poll.js | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 packages/backend/migration/1696604572677-poll_vote_poll.js diff --git a/packages/backend/migration/1696604572677-poll_vote_poll.js b/packages/backend/migration/1696604572677-poll_vote_poll.js deleted file mode 100644 index da52904565..0000000000 --- a/packages/backend/migration/1696604572677-poll_vote_poll.js +++ /dev/null @@ -1,12 +0,0 @@ -export class PollVotePoll1696604572677 { - name = 'PollVotePoll1696604572677'; - - async up(queryRunner) { - await queryRunner.query(`ALTER TABLE "poll_vote" ADD CONSTRAINT "FK_poll_vote_poll" FOREIGN KEY ("noteId") REFERENCES "poll"("noteId") ON DELETE CASCADE`); - } - - async down(queryRunner) { - await queryRunner.query(`ALTER TABLE "poll_vote" DROP CONSTRAINT "FK_poll_vote_poll"`); - } - -}