-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsqlc.json
More file actions
62 lines (62 loc) · 1.08 KB
/
Copy pathsqlc.json
File metadata and controls
62 lines (62 loc) · 1.08 KB
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
{
"version": "1",
"packages": [{
"name": "schema",
"path": "schema",
"engine": "postgresql",
"schema": "schema/schema.sql",
"queries": "schema/query.sql",
"emit_json_tags": true,
"emit_empty_slices": true
}],
"overrides":[
{
"db_type":"uuid",
"go_type": {
"type": "string",
"pointer" : true
},
"nullable": true
},
{
"db_type":"uuid",
"go_type": "string"
},
{
"db_type":"pg_catalog.varchar",
"go_type": {
"type": "string",
"pointer" : true
},
"nullable": true
},
{
"db_type":"pg_catalog.numeric",
"go_type": {
"type": "int",
"pointer" : true
},
"nullable": true
},
{
"db_type": "int32",
"go_type": "int"
},
{
"db_type": "bigserial",
"go_type": "int"
},
{
"db_type": "int2",
"go_type": "int"
},
{
"db_type": "pg_catalog.int4",
"go_type": "int"
},
{
"db_type": "pg_catalog.int8",
"go_type": "int"
}
]
}