egirlskey/packages/backend/migration/1704744370000-add-donation-url.js

11 lines
335 B
JavaScript
Raw Normal View History

2024-01-09 20:32:47 +00:00
export class AddDonationUrl1704744370000 {
name = 'AddDonationUrl1704744370000'
async up(queryRunner) {
await queryRunner.query(`ALTER TABLE "meta" ADD "donationUrl" character varying(1024)`);
}
async down(queryRunner) {
await queryRunner.query(`ALTER TABLE "meta" DROP COLUMN "donationUrl"`);
}
}