mirror of
https://github.com/immich-app/immich.git
synced 2025-12-19 17:23:21 +03:00
feat: rename schema (#19891)
This commit is contained in:
@@ -6,12 +6,12 @@ export class PersonAuditTable {
|
||||
@PrimaryGeneratedUuidV7Column()
|
||||
id!: Generated<string>;
|
||||
|
||||
@Column({ type: 'uuid', indexName: 'IDX_person_audit_person_id' })
|
||||
@Column({ type: 'uuid', index: true })
|
||||
personId!: string;
|
||||
|
||||
@Column({ type: 'uuid', indexName: 'IDX_person_audit_owner_id' })
|
||||
@Column({ type: 'uuid', index: true })
|
||||
ownerId!: string;
|
||||
|
||||
@CreateDateColumn({ default: () => 'clock_timestamp()', indexName: 'IDX_person_audit_deleted_at' })
|
||||
@CreateDateColumn({ default: () => 'clock_timestamp()', index: true })
|
||||
deletedAt!: Generated<Timestamp>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user