-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsqlc.json
More file actions
82 lines (82 loc) · 2.01 KB
/
sqlc.json
File metadata and controls
82 lines (82 loc) · 2.01 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
{
"version": "2",
"sql": [
{
"schema": "internal/db/migrations",
"queries": "internal/db/queries",
"engine": "postgresql",
"gen": {
"go": {
"package": "db",
"out": "internal/db/sqlc",
"sql_package": "pgx/v5",
"emit_json_tags": true,
"emit_interface": true,
"emit_empty_slices": true,
"overrides": [
{
"db_type": "timestamptz",
"go_type": "time.Time"
},
{
"db_type": "timestamptz",
"go_type": {
"type": "time.Time",
"pointer": true
},
"nullable": true
},
{
"db_type": "timestamp",
"go_type": "time.Time"
},
{
"db_type": "timestamp",
"go_type": {
"type": "time.Time",
"pointer": true
},
"nullable": true
},
{
"db_type": "uuid",
"go_type": "github.com/google/uuid.UUID"
},
{
"column": "audit_logs.user_agent",
"go_type": {
"type": "string",
"pointer": true
}
},
{
"column": "suspicious_activities.user_agent",
"go_type": {
"type": "string",
"pointer": true
}
},
{
"column": "user_devices.user_agent",
"go_type": {
"type": "string",
"pointer": true
}
},
{
"column": "login_attempts.user_agent",
"go_type": {
"type": "string",
"pointer": true
}
},
{
"db_type": "text",
"go_type": "string"
}
]
}
}
}
]
}