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

Skip to content

Commit 74f4dee

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

File tree

2 files changed

+20
-12
lines changed

2 files changed

+20
-12
lines changed

coderd/database/queries.sql.go

Lines changed: 16 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

coderd/database/queries/templates.sql

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,12 @@ INSERT INTO
4747
"name",
4848
provisioner,
4949
active_version_id,
50-
description
50+
description,
51+
max_ttl,
52+
min_autostart_interval
5153
)
5254
VALUES
53-
($1, $2, $3, $4, $5, $6, $7, $8) RETURNING *;
55+
($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING *;
5456

5557
-- name: UpdateTemplateActiveVersionByID :exec
5658
UPDATE

0 commit comments

Comments
 (0)