From fb6154957f0b9e0158d5057854580fa45539dd37 Mon Sep 17 00:00:00 2001 From: mattyatea Date: Fri, 17 May 2024 12:18:30 +0900 Subject: [PATCH] update --- packages/backend/migration/1715791271605-loginbonus1.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/backend/migration/1715791271605-loginbonus1.js b/packages/backend/migration/1715791271605-loginbonus1.js index 7dc8e1e709..6d9407a5b1 100644 --- a/packages/backend/migration/1715791271605-loginbonus1.js +++ b/packages/backend/migration/1715791271605-loginbonus1.js @@ -2,12 +2,10 @@ export class Loginbonus11715791271605 { name = 'Loginbonus11715791271605' async up(queryRunner) { - await queryRunner.query(`ALTER TABLE "user_profile" DROP COLUMN "getPoints"`); await queryRunner.query(`ALTER TABLE "user" ADD "getPoints" integer NOT NULL DEFAULT '0'`); } async down(queryRunner) { - await queryRunner.query(`ALTER TABLE "user" DROP COLUMN "getPoints"`); await queryRunner.query(`ALTER TABLE "user_profile" ADD "getPoints" integer NOT NULL DEFAULT '0'`); } }