forked from mindersec/minder
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsqlc.yaml
More file actions
25 lines (23 loc) · 679 Bytes
/
Copy pathsqlc.yaml
File metadata and controls
25 lines (23 loc) · 679 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# SPDX-FileCopyrightText: Copyright 2023 The Minder Authors
# SPDX-License-Identifier: Apache-2.0
version: "2"
sql:
- schema: "./database/migrations/"
queries: "./database/query/"
engine: "postgresql"
gen:
go:
out: "./internal/db/"
package: "db"
emit_json_tags: true
emit_prepared_queries: false
emit_interface: true
emit_exact_table_names: false
emit_empty_slices: true
overrides:
- db_type: profile_selector
go_type:
type: "ProfileSelector"
- column: "evaluation_statuses.evaluation_times"
go_type:
type: "PgTimeArray"