diff --git a/CHANGELOG.md b/CHANGELOG.md index b7649cd02df841464e2706c34e9fa255b1d2d323..0809bf01bec1201f212cfcfef6eeb026214e9598 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -85,6 +85,7 @@ Misskey v12ã§ã¯ã€ã‚¯ãƒ©ã‚¤ã‚¢ãƒ³ãƒˆãŒè¨è¨ˆã—ç›´ã•ã‚Œã€å…¨ãæ–°ã—ã„UI * OAuthèªè¨¼ç”»é¢ã®é…色ãŒãŠã‹ã—ã„å•é¡Œã‚’ä¿®æ£ * è¨å®šç”»é¢ã§ã€ã‚¢ãƒã‚¿ãƒ¼ã‚’æ›´æ–°ã—ã¦ã‚‚ã‚¢ãƒã‚¿ãƒ¼ã®ç”»åƒãŒãã®å ´ã§æ›´æ–°ã•ã‚Œãªã„å•é¡Œã‚’ä¿®æ£ * 投稿詳細/ユーザー詳細 ç”»é¢ã§adminã‚„å…¬å¼ã‚¢ã‚«ã‚¦ãƒ³ãƒˆãƒžãƒ¼ã‚¯ãŒè¡¨ç¤ºã•ã‚Œãªã„å•é¡Œã‚’ä¿®æ£ +* ãƒãƒƒã‚·ãƒ¥ã‚¿ã‚°æ¤œç´¢ãŒé…ã„å•é¡Œã‚’ä¿®æ£ * APIã®ãƒªã‚¯ã‚¨ã‚¹ãƒˆæ–¹æ³•(websocket/HTTP)ã«ã‚ˆã£ã¦è¿”ã£ã¦ãるエラーã®å†…容ã«é•ã„ãŒã‚ã‚‹å•é¡Œã‚’ä¿®æ£ * ストリーミングã®userListãƒãƒ£ãƒ³ãƒãƒ«ã§å˜åœ¨ã—ãªã„リストã§ã‚‚subscribeã§ãã¦ã€ãƒªã‚¹ãƒˆã®IDãŒã‚ã‹ã‚Œã°ä»–人ã®ãƒªã‚¹ãƒˆã§ã‚‚subscribeã§ãã‚‹å•é¡Œã‚’ä¿®æ£ * Redis subscriberã§èªè¨¼ãŒã§ããªã„ã®ã‚’ä¿®æ£ diff --git a/migration/1580543501339-v12-13.ts b/migration/1580543501339-v12-13.ts new file mode 100644 index 0000000000000000000000000000000000000000..7f5d8b8030b9583b0e86a93adc13bc97ee9d9047 --- /dev/null +++ b/migration/1580543501339-v12-13.ts @@ -0,0 +1,14 @@ +import {MigrationInterface, QueryRunner} from "typeorm"; + +export class v12131580543501339 implements MigrationInterface { + name = 'v12131580543501339' + + public async up(queryRunner: QueryRunner): Promise<any> { + await queryRunner.query(`CREATE INDEX "IDX_NOTE_TAGS" ON "note" USING gin ("tags")`, undefined); + } + + public async down(queryRunner: QueryRunner): Promise<any> { + await queryRunner.query(`DROP INDEX "IDX_NOTE_TAGS"`, undefined); + } + +} diff --git a/src/models/entities/note.ts b/src/models/entities/note.ts index c359474811c092bfff37d31b6a34e3221d4e5407..e6fbd4ce759da4817cbc460b38ae5366037badc4 100644 --- a/src/models/entities/note.ts +++ b/src/models/entities/note.ts @@ -4,6 +4,7 @@ import { DriveFile } from './drive-file'; import { id } from '../id'; @Entity() +@Index('IDX_NOTE_TAGS', { synchronize: false }) export class Note { @PrimaryColumn(id()) public id: string;