From 97be1a53adec9edeeb83a8095b24efd4e8675787 Mon Sep 17 00:00:00 2001 From: syuilo <4439005+syuilo@users.noreply.github.com> Date: Fri, 31 May 2024 14:59:02 +0900 Subject: [PATCH] Update 1717117195275-inquiryUrl.js --- packages/backend/migration/1717117195275-inquiryUrl.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/packages/backend/migration/1717117195275-inquiryUrl.js b/packages/backend/migration/1717117195275-inquiryUrl.js index 3834df06d4..29ca31af14 100644 --- a/packages/backend/migration/1717117195275-inquiryUrl.js +++ b/packages/backend/migration/1717117195275-inquiryUrl.js @@ -7,14 +7,10 @@ export class InquiryUrl1717117195275 { name = 'InquiryUrl1717117195275' async up(queryRunner) { - await queryRunner.query(`ALTER TABLE "meta" RENAME COLUMN "trustedLinkUrlPatterns" TO "inquiryUrl"`); - await queryRunner.query(`ALTER TABLE "meta" DROP COLUMN "inquiryUrl"`); await queryRunner.query(`ALTER TABLE "meta" ADD "inquiryUrl" character varying(1024)`); } async down(queryRunner) { await queryRunner.query(`ALTER TABLE "meta" DROP COLUMN "inquiryUrl"`); - await queryRunner.query(`ALTER TABLE "meta" ADD "inquiryUrl" character varying(3072) array NOT NULL DEFAULT '{}'`); - await queryRunner.query(`ALTER TABLE "meta" RENAME COLUMN "inquiryUrl" TO "trustedLinkUrlPatterns"`); } }