mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
fix(server): use jasonnnnnnnnnb (#9539)
This commit is contained in:
parent
d8eca168ca
commit
936a46b4ed
2 changed files with 25 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ export class SystemMetadataEntity<T extends keyof SystemMetadata = SystemMetadat
|
|||
@PrimaryColumn({ type: 'varchar' })
|
||||
key!: T;
|
||||
|
||||
@Column({ type: 'jsonb', default: '{}', transformer: { to: JSON.stringify, from: JSON.parse } })
|
||||
@Column({ type: 'jsonb' })
|
||||
value!: SystemMetadata[T];
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue