misskey/packages/backend/migration/1708081353629-discordweboho...

12 lines
382 B
JavaScript
Raw Normal View History

2024-02-16 11:36:47 +00:00
export class Discordwebohookwordbrock1708081353629 {
name = 'Discordwebohookwordbrock1708081353629'
async up(queryRunner) {
await queryRunner.query(`ALTER TABLE "meta" ADD "DiscordWebhookUrlWordBlock" character varying(1024)`);
}
async down(queryRunner) {
await queryRunner.query(`ALTER TABLE "meta" DROP COLUMN "DiscordWebhookUrlWordBlock"`);
}
}