mizzkey/packages/backend/migration/1708081353629-discordwebohookwordbrock.js

12 lines
382 B
JavaScript
Raw Normal View History

2024-02-16 12:36:47 +01: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"`);
}
}