-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsqlc.yaml
53 lines (53 loc) · 1.62 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
version: "2"
sql:
- engine: mysql
queries: database/queries
schema: database/migrations
gen:
go:
package: "database"
out: "database"
emit_json_tags: true
overrides:
- column: "*.guild_id"
go_type:
import: "github.com/disgoorg/snowflake/v2"
type: "ID"
- column: "*.user_id"
go_type:
import: "github.com/disgoorg/snowflake/v2"
type: "ID"
- column: "*.message_id"
go_type:
import: "github.com/disgoorg/snowflake/v2"
type: "ID"
- column: "*.interaction_id"
go_type:
import: "github.com/disgoorg/snowflake/v2"
type: "ID"
- column: "*.bong_channel_id"
go_type:
import: "github.com/disgoorg/snowflake/v2"
type: "ID"
- column: "*.bong_webhook_id"
go_type:
import: "github.com/disgoorg/snowflake/v2"
type: "ID"
- column: "*.bong_role_id"
go_type:
import: "github.com/disgoorg/snowflake/v2"
type: "ID"
- column: "*.role_id"
go_type:
import: "github.com/disgoorg/snowflake/v2"
type: "ID"
- column: "users.id"
go_type:
import: "github.com/disgoorg/snowflake/v2"
type: "ID"
- column: "guilds.id"
go_type:
import: "github.com/disgoorg/snowflake/v2"
type: "ID"
- column: "bongs.speed"
go_type: "int64"