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 3939 go_type : " time.Time"
4040` ` `
4141
42- .. tip::
42+ :::{tip}
4343 A single ` db_type` override configuration applies to either nullable or non-nullable
4444 columns, but not both. If you want the same Go type to override regardless of
4545 nullability, you'll need to configure two overrides : one with `nullable: true` and one without.
46+ :: :
4647
4748# # The `overrides` list
4849
@@ -67,12 +68,15 @@ Each element in the `overrides` list has the following keys:
6768 Note that this only applies to `db_type` overrides and has no effect on `column` overrides.
6869 Defaults to `false`.
6970
70- .. tip: :
71+ :::{tip}
7172 A single `db_type` override configuration applies to either nullable or non-nullable
7273 columns, but not both. If you want the same Go type to override regardless of nullability, you'll
7374 need to configure two overrides : one with `nullable: true` and one without.
75+ :: :
7476
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+ :: :
7680
7781# ## The `go_type` map
7882
You can’t perform that action at this time.
0 commit comments