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

@ -8151,7 +8151,7 @@ func (q *FakeQuerier) InsertPreset(_ context.Context, arg database.InsertPresetP
//nolint:gosimple // arg needs to keep its type for interface reasons and that type is not appropriate for preset below.
preset := database.TemplateVersionPreset{
ID: arg.ID,
ID: uuid.New(),
TemplateVersionID: arg.TemplateVersionID,
Name: arg.Name,
CreatedAt: arg.CreatedAt,