-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsqlc.yaml
124 lines (110 loc) · 4.47 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
version: "2"
sql:
- engine: "sqlite"
queries: "queries.sql"
schema: "migrations"
gen:
go:
package: "db"
out: "internal/db"
sql_package: "database/sql"
# all possible overrides https://github.com/sqlc-dev/sqlc/blob/main/internal/codegen/golang/postgresql_type.go
overrides:
# NTH not working
# - db_type: "integer"
# nullable: true
# go_type: "database/sql.NullInt64"
- column: "groups.short"
go_type: "database/sql.NullString"
- column: "groups.size"
go_type: "database/sql.NullInt64"
- column: "groups.image_id"
go_type: "database/sql.NullString"
- column: "groups.created_by"
go_type: "database/sql.NullInt64"
- column: "groups.updated_by"
go_type: "database/sql.NullInt64"
- column: "groups.comment"
go_type: "database/sql.NullString"
- column: "groups.abbr"
go_type: "database/sql.NullString"
- column: "points_to_groups.created_by"
go_type: "database/sql.NullInt64"
- column: "points_to_groups.updated_by"
go_type: "database/sql.NullInt64"
- column: "points_to_stations.created_by"
go_type: "database/sql.NullInt64"
- column: "points_to_stations.updated_by"
go_type: "database/sql.NullInt64"
- column: "schedule.end"
go_type: "database/sql.NullInt64"
- column: "stations.short"
go_type: "database/sql.NullString"
- column: "stations.lati"
go_type: "database/sql.NullFloat64"
- column: "stations.long"
go_type: "database/sql.NullFloat64"
- column: "stations.image_id"
go_type: "database/sql.NullString"
- column: "stations.description"
go_type: "database/sql.NullString"
- column: "stations.requirements"
go_type: "database/sql.NullString"
- column: "stations.created_by"
go_type: "database/sql.NullInt64"
- column: "stations.updated_by"
go_type: "database/sql.NullInt64"
- column: "stations.abbr"
go_type: "database/sql.NullString"
- column: "stations.category_id"
go_type: "database/sql.NullInt64"
- column: "tribes.short"
go_type: "database/sql.NullString"
- column: "tribes.dpsg"
go_type: "database/sql.NullString"
- column: "tribes.image_id"
go_type: "database/sql.NullString"
- column: "tribes.email_domain"
go_type: "database/sql.NullString"
- column: "tribes.stavo_email"
go_type: "database/sql.NullString"
- column: "users.oauth"
go_type: "database/sql.NullString"
- column: "users.ext_id"
go_type: "database/sql.NullString"
- column: "images.tribe_id"
go_type: "database/sql.NullInt64"
- column: "images.station_id"
go_type: "database/sql.NullInt64"
- column: "images.created_by"
go_type: "database/sql.NullInt64"
- column: "users.tribe_id"
go_type: "database/sql.NullInt64"
- column: "users.station_id"
go_type: "database/sql.NullInt64"
- column: "users.role"
go_type: "georgslauf/acl.ACL"
- column: "group_roles.created_by"
go_type: "database/sql.NullInt64"
- column: "group_roles.updated_by"
go_type: "database/sql.NullInt64"
- column: "group_roles.group_role"
go_type: "georgslauf/acl.ACL"
- column: "station_roles.station_role"
go_type: "georgslauf/acl.ACL"
- column: "station_roles.created_by"
go_type: "database/sql.NullInt64"
- column: "station_roles.updated_by"
go_type: "database/sql.NullInt64"
- column: "tribe_roles.tribe_role"
go_type: "georgslauf/acl.ACL"
- column: "tribe_roles.created_by"
go_type: "database/sql.NullInt64"
- column: "tribe_roles.updated_by"
go_type: "database/sql.NullInt64"
- column: "tribe_roles.accepted_at"
go_type: "database/sql.NullInt64"
- column: "settings.updated_by"
go_type: "database/sql.NullInt64"
- column: "tribe_icons.created_by"
go_type: "database/sql.NullInt64"