mizzkey/packages/backend/migration/1714831133156-avatardecoration_fed.js
2024-05-06 07:41:47 +09:00

12 lines
347 B
JavaScript

export class AvatardecorationFed1714831133156 {
name = 'AvatardecorationFed1714831133156'
async up(queryRunner) {
await queryRunner.query(`ALTER TABLE "avatar_decoration" DROP COLUMN "host"`);
}
async down(queryRunner) {
await queryRunner.query(`ALTER TABLE "avatar_decoration" ADD "host" character varying(256)`);
}
}