firefish/packages/backend/migration/1689136347561-donation-link.js

16 lines
336 B
JavaScript
Raw Permalink Normal View History

2023-07-20 04:17:05 +09:00
export class DonationLink1689136347561 {
name = "DonationLink1689136347561";
async up(queryRunner) {
await queryRunner.query(
`ALTER TABLE "meta" ADD "donationLink" character varying(256)`,
);
}
async down(queryRunner) {
await queryRunner.query(
`ALTER TABLE "meta" DROP COLUMN "DonationLink1689136347561"`,
);
}
}