1
0
forked from mirror/misskey
mi.moris.day/packages/backend/migration/1697641012204-DiscordWebhookUrl.js

12 lines
356 B
JavaScript
Raw Normal View History

2023-10-19 01:16:11 +09: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"`);
}
}