add IDX_instance_host_key

This commit is contained in:
Hazelnoot 2025-05-24 18:28:07 -04:00
parent 5af5414fdf
commit 566f92ab73
2 changed files with 21 additions and 0 deletions

View file

@ -6,6 +6,7 @@
import { Entity, PrimaryColumn, Index, Column } from 'typeorm';
import { id } from './util/id.js';
@Index('IDX_instance_host_key', { synchronize: false })
@Entity('instance')
export class MiInstance {
@PrimaryColumn(id())