mirror of
https://github.com/coder/coder.git
synced 2025-07-06 15:41:45 +00:00
generate ids for presets by default
This commit is contained in:
@ -1,2 +1,5 @@
|
||||
ALTER TABLE template_version_presets
|
||||
ALTER COLUMN id DROP DEFAULT;
|
||||
|
||||
ALTER TABLE template_version_preset_parameters
|
||||
ALTER COLUMN id DROP DEFAULT;
|
||||
|
@ -1,2 +1,5 @@
|
||||
ALTER TABLE template_version_presets
|
||||
ALTER COLUMN id SET DEFAULT gen_random_uuid();
|
||||
|
||||
ALTER TABLE template_version_preset_parameters
|
||||
ALTER COLUMN id SET DEFAULT gen_random_uuid();
|
||||
|
Reference in New Issue
Block a user