* fix: always create instance groups with uuid * Update SQLx metadata * repo ref --------- Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com>
8 lines
241 B
SQL
8 lines
241 B
SQL
-- Add up migration script here
|
|
|
|
-- Backfill UUIDs for instance groups that don't have one
|
|
-- This is needed for SCIM compatibility where groups must have stable UUIDs
|
|
UPDATE instance_group
|
|
SET id = gen_random_uuid()::text
|
|
WHERE id IS NULL;
|