fix(etl): sql enum for image storage
All checks were successful
Build and Deploy Go App / build (push) Successful in 11m53s
Build and Deploy Go App / deploy (push) Successful in 48s

This commit is contained in:
nihonium 2025-12-06 08:38:34 +03:00
parent f983ed1035
commit fe1bf7ec10
Signed by: nihonium
GPG key ID: 0251623741027CFC

View file

@ -80,7 +80,7 @@ async def get_or_create_image(
VALUES (%s, %s)
RETURNING id
""",
("image-service", rel_path),
("local", rel_path),
)
row = await cur.fetchone()
return row["id"]