-
Notifications
You must be signed in to change notification settings - Fork 0
/
sqlc.yaml
35 lines (32 loc) · 1.02 KB
/
sqlc.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
version: "2"
overrides:
go:
overrides:
- db_type: "uuid"
nullable: true
engine: postgresql
go_type:
import: "github.com/google/uuid"
pointer: true
type: "UUID"
sql:
- engine: "postgresql"
queries:
- "./db/queries/users.query.sql"
- "./db/queries/refresh_tokens.query.sql"
- "./db/queries/teams.query.sql"
- "./db/queries/players.query.sql"
schema:
- "./db/migrations/000001_initial.up.sql"
- "./db/migrations/000002_remove-score-table.up.sql"
- "./db/migrations/000003_add-refresh-token.up.sql"
- "./db/migrations/000004_add-stats.up.sql"
- "./db/migrations/000005_remove-winner-id.up.sql"
- "./db/migrations/000006_update-on-deletion.up.sql"
- "./db/migrations/000007_add-unique-first-last-name.up.sql"
- "./db/migrations/000008_add-delete-player-on-user-deletion.up.sql"
gen:
go:
package: db
out: db
emit_interface: true