add MiUserProfile.defaultCW property and API

This commit is contained in:
Hazelnoot 2025-02-01 17:07:34 -05:00
parent 8a087e75a5
commit 74407bc8ee
7 changed files with 47 additions and 3 deletions

View file

@ -0,0 +1,11 @@
export class AddUserProfileDefaultCw1738446745738 {
name = 'AddUserProfileDefaultCw1738446745738'
async up(queryRunner) {
await queryRunner.query(`ALTER TABLE "user_profile" ADD "default_cw" text`);
}
async down(queryRunner) {
await queryRunner.query(`ALTER TABLE "user_profile" DROP COLUMN "default_cw"`);
}
}