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

13 lines
292 B
JavaScript

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"`);
}
}