generate ids for presets by default

This commit is contained in:
Sas Swart
2025-02-12 10:13:43 +00:00
parent c31ee7b263
commit ce2956d1a7
8 changed files with 13 additions and 16 deletions

View File

@ -1273,7 +1273,7 @@ CREATE TABLE template_version_preset_parameters (
);
CREATE TABLE template_version_presets (
id uuid NOT NULL,
id uuid DEFAULT gen_random_uuid() NOT NULL,
template_version_id uuid NOT NULL,
name text NOT NULL,
created_at timestamp with time zone DEFAULT CURRENT_TIMESTAMP NOT NULL