misskey/packages/backend/migration/1714831133156-avatardecorat...

12 lines
347 B
JavaScript
Raw Normal View History

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