Error using drizzle-kit studio

I started encountering this issue out of the blue today without having changed any bit of the code (As far as I remember) Error: The result contains the unsupported data type "CHAR". There seems to be an open bug https://github.com/drizzle-team/drizzle-kit-mirror/issues/542. Anyone know what could have caused this? And how come this started happening all of a sudden? I don't believe we have updated anything
GitHub
Issues · drizzle-team/drizzle-kit-mirror
Docs and issues repository for drizzle-kit. Contribute to drizzle-team/drizzle-kit-mirror development by creating an account on GitHub.
3 Replies
Ed
Ed4mo ago
i'm seeing the same issue: Error: The result contains the unsupported data type "CHAR". at ie (https://local.drizzle.studio/index.js:13147:10689) at async https://local.drizzle.studio/index.js:13147:10834 at async Promise.all (index 2) at async rni (https://local.drizzle.studio/index.js:12972:1418) at async tAl (https://local.drizzle.studio/index.js:13147:10815)
larryvnz
larryvnz4mo ago
here's my hacky workaround plugged into node_modules/drizzle-kit/bin.cjs const proxy = async (params) => { params.sql = params.sql.replace('con.contype AS constraint_type', 'cast(con.contype AS VARCHAR) AS constraint_type'); ....
Ed
Ed3w ago
this was working but now suddenly out of the blue it's not working
Want results from more Discord servers?
Add your server