mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-03-22 12:03:39 +00:00
update
This commit is contained in:
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"`); }
|
||||
}
|
||||
Reference in New Issue
Block a user