3 ms·
The cli config supports specifying the PGLite extensions (the codegen uses PGLite as an in-memory light postgres), see this example: https://github.com/ilbertt/
by ilbert 3mo ago
The cli config supports specifying the PGLite extensions (the codegen uses PGLite as an in-memory light postgres), see this example: https://github.com/ilbertt/bun-sqlgen/tree/main/examples/with-config https://github.com/ilbertt/bun-sqlgen/tree/main/examples/wit....
You'll still probably have to manually override some column types using PG comments like: https://github.com/ilbertt/bun-sqlgen/blob/dee757ebc9c38aec7e9f1b71c5b2154d033b2689/examples/simple/src/db/migrations/0005_types.sql#L14 https://github.com/ilbertt/bun-sqlgen/blob/dee757ebc9c38aec7...
PGLite extensions: https://pglite.dev/extensions/#postgis https://pglite.dev/extensions/#postgis