mirror of
https://github.com/immich-app/immich
synced 2025-10-17 18:19:27 +00:00
feat: updateId uuidv7 column for all entities with updatedAt (#16353)
This commit is contained in:
parent
128d653fc6
commit
967c69317b
18 changed files with 222 additions and 4 deletions
|
|
@ -30,6 +30,10 @@ export class AssetFileEntity {
|
|||
@UpdateDateColumn({ type: 'timestamptz' })
|
||||
updatedAt!: Date;
|
||||
|
||||
@Index('IDX_asset_files_update_id')
|
||||
@Column({ type: 'uuid', nullable: false, default: () => 'immich_uuid_v7()' })
|
||||
updateId?: string;
|
||||
|
||||
@Column()
|
||||
type!: AssetFileType;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue