This commit is contained in:
mattyatea 2024-05-17 12:18:30 +09:00
parent 4da6ae53e9
commit fb6154957f
1 changed files with 0 additions and 2 deletions

View File

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