1
0
mirror of https://github.com/MisskeyIO/misskey synced 2024-11-30 15:58:16 +09:00
MisskeyIO/packages/backend/migration/1730629332694-GoogleAnalyticsId.js

12 lines
352 B
JavaScript

export class GoogleAnalyticsId1730629332694 {
name = 'GoogleAnalyticsId1730629332694'
async up(queryRunner) {
await queryRunner.query(`ALTER TABLE "meta" ADD "googleAnalyticsId" character varying(32)`);
}
async down(queryRunner) {
await queryRunner.query(`ALTER TABLE "meta" DROP COLUMN "googleAnalyticsId"`);
}
}