fix: bad types from sql
This commit is contained in:
parent
4c7d03cddc
commit
673ce48fac
5 changed files with 91 additions and 57 deletions
|
|
@ -14,8 +14,11 @@ sql:
|
|||
emit_pointers_for_null_types: true
|
||||
emit_empty_slices: true #slices returned by :many queries will be empty instead of nil
|
||||
overrides:
|
||||
- column: "titles.title_storage_type"
|
||||
go_type: "*string"
|
||||
- db_type: "storage_type_t"
|
||||
nullable: true
|
||||
go_type:
|
||||
type: "StorageTypeT"
|
||||
pointer: true
|
||||
- db_type: "jsonb"
|
||||
go_type: "encoding/json.RawMessage"
|
||||
- db_type: "uuid"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue