Store image id instead of low/middle/high uri

This commit is contained in:
Zoe Roux
2024-11-08 22:27:58 +01:00
parent 00774230af
commit f53e8e3611
2 changed files with 2 additions and 4 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ export const schema = pgSchema("kyoo");
export const language = () => varchar({ length: 255 });
export const image = () =>
jsonb().$type<{ source: string; blurhash: string }>();
jsonb().$type<{ id: string; source: string; blurhash: string }>();
export const externalid = () =>
jsonb()