mizzkey/packages/backend/migration/1714831133156-avatardecoration_fed.js

12 lines
347 B
JavaScript
Raw Normal View History

2024-05-06 00:41:47 +02:00
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)`);
}
}