summaryrefslogtreecommitdiff
path: root/packages/backend/migration/1576269851876-TalkFederationId.js
blob: 35861d571ffec090bb645a504481ecc8dcc744b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
export 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);
    }
}