drizzle postgis geometry always geometry(point)
Hello, i am currently testing out the basic postGis support and it would be nice if i can get it working as desired...
Basically i want point/pointZ and linestring/linestringZ...
The 0.31.0 release added
i was wondering what steps are necessary to get eg: linestring to work?
on
with linestring i tried:
resulting in:
on
the only way to get around this issue that i am currently aware is just manually swap out the
Basically i want point/pointZ and linestring/linestringZ...
The 0.31.0 release added
geometry from the PostgreSQL PostGIS extension, however, as indicated it currently only supports type: "point". But the release also states, that we can specify any other string to use some other type...i was wondering what steps are necessary to get eg: linestring to work?
point: geometry("point", { type: "point" }), or point: geometry("point", { type: "pointZ" }),results in: on
drizzle-kit generatewith linestring i tried:
linestring: geometry("linestring", { type: "linestring" }) or linestring: geometry("linestring", { type: "linestringZ" })resulting in:
on
drizzle-kit generatethe only way to get around this issue that i am currently aware is just manually swap out the
geometry(point) with geometry(linestring) in the generated sql and then migrate...