misskey/packages/backend/migration/1697641012204-DiscordWebhoo...

12 lines
356 B
JavaScript
Raw Normal View History

2023-10-18 16:16:11 +00: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"`);
}
}