lost-fe/packages/backend/migration/1576269851876-TalkFederationId.js
syuilo 0e4a111f81 refactoring
Resolve #7779
2021-11-12 02:02:25 +09:00

14 lines
546 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class TalkFederationId1576269851876 {
constructor() {
this.name = 'TalkFederationId1576269851876';
}
async up(queryRunner) {
await queryRunner.query(`ALTER TABLE "messaging_message" ADD "uri" character varying(512)`, undefined);
}
async down(queryRunner) {
await queryRunner.query(`ALTER TABLE "messaging_message" DROP COLUMN "uri"`, undefined);
}
}
exports.TalkFederationId1576269851876 = TalkFederationId1576269851876;