Skip to content

Commit 45e6e95

Browse files
committed
override interval
1 parent 0311f1e commit 45e6e95

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

coderd/database/queries.sql.go

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

coderd/database/sqlc.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ overrides:
2727
- column: "template_with_users.group_acl"
2828
go_type:
2929
type: "TemplateACL"
30+
- db_type: "pg_catalog.interval"
31+
engine: "postgresql"
32+
go_type:
33+
import: "time"
34+
type: "Duration"
3035
rename:
3136
template: TemplateTable
3237
template_with_user: Template

0 commit comments

Comments
 (0)