From 3e85aad80a882abc764c13a0fc40e3333bb61c4b Mon Sep 17 00:00:00 2001 From: MeiMei <30769358+mei23@users.noreply.github.com> Date: Sun, 15 Dec 2019 03:37:19 +0900 Subject: Implement Talk has read federation (#5636) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Talk read * fix * 複数のRead ActivityはCollectionとして送るように * あ --- migration/1576269851876-TalkFederationId.ts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 migration/1576269851876-TalkFederationId.ts (limited to 'migration') diff --git a/migration/1576269851876-TalkFederationId.ts b/migration/1576269851876-TalkFederationId.ts new file mode 100644 index 0000000000..57e86c8b03 --- /dev/null +++ b/migration/1576269851876-TalkFederationId.ts @@ -0,0 +1,14 @@ +import {MigrationInterface, QueryRunner} from "typeorm"; + +export class TalkFederationId1576269851876 implements MigrationInterface { + name = 'TalkFederationId1576269851876' + + public async up(queryRunner: QueryRunner): Promise { + await queryRunner.query(`ALTER TABLE "messaging_message" ADD "uri" character varying(512)`, undefined); + } + + public async down(queryRunner: QueryRunner): Promise { + await queryRunner.query(`ALTER TABLE "messaging_message" DROP COLUMN "uri"`, undefined); + } + +} -- cgit v1.2.3-freya