fix: trend_windows.id missing gen_random_uuid() default

This commit is contained in:
Celes Renata
2026-04-17 17:27:41 +00:00
parent 84b3c06b2f
commit 7a541aa693
@@ -0,0 +1,4 @@
-- Fix trend_windows.id default: uuid_generate_v4() requires the uuid-ossp
-- extension which may not be loaded. Switch to gen_random_uuid() which is
-- built-in to PostgreSQL 13+.
ALTER TABLE trend_windows ALTER COLUMN id SET DEFAULT gen_random_uuid();