remove IDX_instance_host_filters as it slowed down queries more than it helped
This commit is contained in:
parent
24b0d7a376
commit
d0cf1cc15f
2 changed files with 17 additions and 1 deletions
|
|
@ -7,7 +7,6 @@ import { Entity, PrimaryColumn, Index, Column } from 'typeorm';
|
|||
import { id } from './util/id.js';
|
||||
|
||||
@Index('IDX_instance_host_key', { synchronize: false }) // ((lower(reverse("host"::text)) || '.'::text)
|
||||
@Index('IDX_instance_host_filters', { synchronize: false }) // ("host", "isBlocked", "isSilenced", "isMediaSilenced", "isAllowListed", "isBubbled", "suspensionState")
|
||||
@Entity('instance')
|
||||
export class MiInstance {
|
||||
@PrimaryColumn(id())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue