mizzkey/packages/backend/migration/1697642704514-EmojiBotToken.js
2023-10-19 01:16:11 +09:00

12 lines
338 B
JavaScript

export class EmojiBotToken1697642704514 {
name = 'EmojiBotToken1697642704514'
async up(queryRunner) {
await queryRunner.query(`ALTER TABLE "meta" ADD "EmojiBotToken" character varying(1024)`);
}
async down(queryRunner) {
await queryRunner.query(`ALTER TABLE "meta" DROP COLUMN "EmojiBotToken"`);
}
}