mizzkey/packages/backend/migration/1697642704514-EmojiBotToken.js

12 lines
338 B
JavaScript
Raw Normal View History

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