glerchundi / sqlboiler-crdb

23 stars 20 forks source link

unable to use enums #39

Open delaneyj opened 3 years ago

delaneyj commented 3 years ago

Similar to #18,

CREATE TYPE agg_type AS ENUM('unknown', 'user');

gives warnings in generation

Warning: Unhandled data type public.agg_type, falling back to string

Are enums planned?

optiman commented 3 years ago

There is a PR, waiting to be merged: https://github.com/glerchundi/sqlboiler-crdb/pull/37 You can build it manually from my fork in the meantime.

delaneyj commented 3 years ago

This has been open for 6 months now!