Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7da27a0

Browse files
committed
fixup! RED: add migrations and make gen
1 parent 74f4dee commit 7da27a0

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

coderd/database/databasefake/databasefake.go

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1226,14 +1226,16 @@ func (q *fakeQuerier) InsertTemplate(_ context.Context, arg database.InsertTempl
12261226

12271227
//nolint:gosimple
12281228
template := database.Template{
1229-
ID: arg.ID,
1230-
CreatedAt: arg.CreatedAt,
1231-
UpdatedAt: arg.UpdatedAt,
1232-
OrganizationID: arg.OrganizationID,
1233-
Name: arg.Name,
1234-
Provisioner: arg.Provisioner,
1235-
ActiveVersionID: arg.ActiveVersionID,
1236-
Description: arg.Description,
1229+
ID: arg.ID,
1230+
CreatedAt: arg.CreatedAt,
1231+
UpdatedAt: arg.UpdatedAt,
1232+
OrganizationID: arg.OrganizationID,
1233+
Name: arg.Name,
1234+
Provisioner: arg.Provisioner,
1235+
ActiveVersionID: arg.ActiveVersionID,
1236+
Description: arg.Description,
1237+
MaxTtl: arg.MaxTtl,
1238+
MinAutostartInterval: arg.MinAutostartInterval,
12371239
}
12381240
q.templates = append(q.templates, template)
12391241
return template, nil

0 commit comments

Comments
 (0)