1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-11-24 07:06:26 +09:00
cherrypick/packages/backend/migration/1723982389378-AddCustomSplash.js

12 lines
376 B
JavaScript

export class AddCustomSplash1723982389378 {
name = 'AddCustomSplash1723982389378'
async up(queryRunner) {
await queryRunner.query(`ALTER TABLE "meta" ADD "customSplashText" character varying(1024) array NOT NULL DEFAULT '{}'`);
}
async down(queryRunner) {
await queryRunner.query(`ALTER TABLE "meta" DROP COLUMN "customSplashText"`);
}
}