Skip to main content

pg_column_type

Function pg_column_type 

Source
pub fn pg_column_type(ty: FieldType) -> &'static str
Expand description

The Postgres column type for a Gize field type. Single source of truth reused by the migration templates.