misskey/packages/backend/migration/1716911535226-gapikey.js

12 lines
334 B
JavaScript
Raw Normal View History

2024-05-28 16:19:08 +00:00
export class Gapikey1716911535226 {
name = 'Gapikey1716911535226'
async up(queryRunner) {
await queryRunner.query(`ALTER TABLE "meta" ADD "googleAnalyticsId" character varying(1024)`);
}
async down(queryRunner) {
await queryRunner.query(`ALTER TABLE "meta" DROP COLUMN "googleAnalyticsId"`);
}
}