blob: 679940f244646677b923bc630ef2a456fc5b107d (
plain)
1
2
3
4
5
6
7
8
9
10
|
export class room1565634203341 {
async up(queryRunner) {
await queryRunner.query(`ALTER TABLE "user_profile" ADD "room" jsonb NOT NULL DEFAULT '{}'`);
}
async down(queryRunner) {
await queryRunner.query(`ALTER TABLE "user_profile" DROP COLUMN "room"`);
}
}
|