Open heksesang opened 1 year ago
Considering Cornucopia as a replacement for sqlx, but my database uses PostGIS. Based on this bug, I guess using Cornucopia today in this way isn't possible?
Out of the box it isn't possible, no. If we could have https://github.com/cornucopia-rs/cornucopia/pull/208 merged, I believe that should be enough to enable it.
EDIT: Actually, we need a way to update the TypeRegistrar
with the geometry
type as well. It would be nice to also enable that in an extensible way to enable arbitrary extension support.
It would be nice to support PostGIS extensions when generating code from schemas. Maybe add an option to choose what image will be used with the container?