sql-gen
sql-gen copied to clipboard
Panics on different postgres types and custom types
Problem
- sql-gen panics on some postgres types, like: "_int8" => "i64", "_int4" => "i32", "_int2" => "i16", "_text" => "String", "jsonb" => "serde_json::Value", "time" => "chrono::NaiveTime", "bool" => "bool", "bpchar" => "String", "char" => "String", "character" => "String",
- it also fails to work with custom types/enums