Skip to content

Commit

Permalink
add to face entity
Browse files Browse the repository at this point in the history
  • Loading branch information
mertalev committed Mar 13, 2024
1 parent 255d890 commit 8cef805
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/src/infra/entities/asset-face.entity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { AssetEntity } from './asset.entity';
import { PersonEntity } from './person.entity';

@Entity('asset_faces', { synchronize: false })
@Index('IDX_asset_faces_assetId_personId', ['assetId', 'personId'])
@Index(['personId', 'assetId'])
export class AssetFaceEntity {
@PrimaryGeneratedColumn('uuid')
Expand Down

0 comments on commit 8cef805

Please sign in to comment.