fix(migration): cast gen_random_uuid() to uuid not text for omg backfill

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Vadym Samoilenko 2026-05-18 09:56:30 +01:00
parent f568814be5
commit e861f20342

View file

@ -17,7 +17,7 @@ def upgrade() -> None:
"""
INSERT INTO omg_entries (id, user_id, name, client, job_number, notes)
SELECT
gen_random_uuid()::text,
gen_random_uuid(),
p.user_id,
p.display_name,
p.client,