1
0
Fork 1
mirror of https://example.com synced 2024-11-27 11:26:39 +09:00
firefish/packages/backend/migration/1689136347561-donation-link.js
ThatOneCalculator 04224bfc66
feat: Donation pop-up with optional admin link
Co-authored-by: Syuilo <syuilotan@yahoo.co.jp>
2023-07-11 23:23:44 -07:00

15 lines
336 B
JavaScript

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