mizzkey/packages/backend/migration/1697641012204-DiscordWebhookUrl.js

12 lines
356 B
JavaScript
Raw Normal View History

2023-10-18 18:16:11 +02:00
export class DiscordWebhookUrl1697641012204 {
name = 'DiscordWebhookUrl1697641012204'
async up(queryRunner) {
await queryRunner.query(`ALTER TABLE "meta" ADD "DiscordWebhookUrl" character varying(1024)`);
}
async down(queryRunner) {
await queryRunner.query(`ALTER TABLE "meta" DROP COLUMN "DiscordWebhookUrl"`);
}
}