fix log + add 3 indexes on fielMetadata and indexFieldMetadata (#10113)

This commit is contained in:
Etienne
2025-02-11 00:34:33 +01:00
committed by GitHub
parent b5736a28fd
commit 3eaafbde55
4 changed files with 31 additions and 2 deletions

View File

@ -52,6 +52,7 @@ export class FieldMetadataEntity<
onDelete: 'CASCADE',
})
@JoinColumn({ name: 'objectMetadataId' })
@Index('IndexOnObjectMetadataId')
object: Relation<ObjectMetadataEntity>;
@Column({
@ -97,6 +98,7 @@ export class FieldMetadataEntity<
isUnique: boolean;
@Column({ nullable: false, type: 'uuid' })
@Index('IndexOnWorkspaceId')
workspaceId: string;
@Column({ default: false })