update
This commit is contained in:
parent
509181a6d0
commit
6a07fa78dd
1 changed files with 9 additions and 0 deletions
9
packages/backend/migration/1715787239605-loginbonus.js
Normal file
9
packages/backend/migration/1715787239605-loginbonus.js
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
export class Loginbonus1715787239605 {
|
||||
name = 'Loginbonus1715787239605'
|
||||
|
||||
async up(queryRunner) {
|
||||
await queryRunner.query(`ALTER TABLE "user_profile" ADD "getPoints" integer NOT NULL DEFAULT '0'`); }
|
||||
|
||||
async down(queryRunner) {
|
||||
await queryRunner.query(`ALTER TABLE "user_profile" DROP COLUMN "getPoints"`); }
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue