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'`); } }