File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 39
39
go_type : " time.Time"
40
40
` ` `
41
41
42
- .. tip::
42
+ :::{tip}
43
43
A single ` db_type` override configuration applies to either nullable or non-nullable
44
44
columns, but not both. If you want the same Go type to override regardless of
45
45
nullability, you'll need to configure two overrides : one with `nullable: true` and one without.
46
+ :: :
46
47
47
48
# # The `overrides` list
48
49
@@ -67,12 +68,15 @@ Each element in the `overrides` list has the following keys:
67
68
Note that this only applies to `db_type` overrides and has no effect on `column` overrides.
68
69
Defaults to `false`.
69
70
70
- .. tip: :
71
+ :::{tip}
71
72
A single `db_type` override configuration applies to either nullable or non-nullable
72
73
columns, but not both. If you want the same Go type to override regardless of nullability, you'll
73
74
need to configure two overrides : one with `nullable: true` and one without.
75
+ :: :
74
76
75
- .. note: : When generating code, `column` override configurations take precedence over `db_type` configurations.
77
+ :::{note}
78
+ When generating code, `column` override configurations take precedence over `db_type` configurations.
79
+ :: :
76
80
77
81
# ## The `go_type` map
78
82
You can’t perform that action at this time.
0 commit comments