1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-12-01 16:28:27 +09:00
cherrypick/packages/backend/migration/1695440131671-short-name.js

12 lines
320 B
JavaScript

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