You've already forked immich
mirror of
https://github.com/immich-app/immich.git
synced 2025-08-08 23:07:06 +02:00
feat: add foreign key indexes (#17672)
This commit is contained in:
@ -1,9 +1,8 @@
|
||||
import { Column, ColumnIndex, DatabaseSchema, Table } from 'src/sql-tools';
|
||||
import { Column, DatabaseSchema, Table } from 'src/sql-tools';
|
||||
|
||||
@Table()
|
||||
export class Table1 {
|
||||
@ColumnIndex()
|
||||
@Column()
|
||||
@Column({ index: true })
|
||||
column1!: string;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user