mirror of
https://github.com/kokonect-link/cherrypick
synced 2024-12-16 23:58:59 +09:00
14 lines
493 B
JavaScript
14 lines
493 B
JavaScript
|
export class RemoteAvaterDecoration1699432324194 {
|
||
|
name = 'RemoteAvaterDecoration1699432324194'
|
||
|
|
||
|
async up(queryRunner) {
|
||
|
queryRunner.query(`ALTER TABLE "avatar_decoration" ADD "remoteId" varchar(32)`);
|
||
|
queryRunner.query(`ALTER TABLE "avatar_decoration" ADD "host" varchar(128)`);
|
||
|
}
|
||
|
|
||
|
async down(queryRunner) {
|
||
|
queryRunner.query(`ALTER TABLE "avatar_decoration" DROP COLUMN "host"`);
|
||
|
queryRunner.query(`ALTER TABLE "avatar_decoration" DROP COLUMN "remoteId"`);
|
||
|
}
|
||
|
}
|