1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-11-01 07:35:57 +09:00
cherrypick/packages/backend/migration/1576269851876-TalkFederationId.js

15 lines
546 B
JavaScript
Raw Normal View History

2021-11-12 02:02:25 +09:00
"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;