5 lines
255 B
SQL
5 lines
255 B
SQL
-- 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();
|