1
0
Fork 1
mirror of https://example.com synced 2024-11-23 10:06:40 +09:00
firefish/packages/backend/migration/1699305365258-more-urls.js

14 lines
292 B
JavaScript
Raw Normal View History

export class MoreUrls1699305365258 {
name = "MoreUrls1699305365258";
async up(queryRunner) {
queryRunner.query(
`ALTER TABLE "meta" ADD "moreUrls" jsonb NOT NULL DEFAULT '[]'`,
);
}
async down(queryRunner) {
queryRunner.query(`ALTER TABLE "meta" DROP COLUMN "moreUrls"`);
}
}