Consistent issues with `drizzle-kit push` on Turso
Hey y'all! Having some issues with
drizzle-kit push
when using Turso. Appears to be an issue since 0.23. Legitimately considering going down to 0.22.8 again. cc @Andrew Sherman
https://github.com/drizzle-team/drizzle-kit-mirror/issues/500GitHub
[SQLite] Cannot push schema changes with
drizzle-kit
0.23.0 · Iss...I get the following error when trying to push schema changes (drizzle-kit push) TypeError: This statement does not return data. Use run() instead at Object.query (/**/node_modules/.pnpm/drizzle-k...
13 Replies
We did a big rewrite for Turso and SQLite migrations
Planning on pushing to beta today
I’ll ping you with this tag, so you can try
cc @theo (t3.gg)
Sorry for hijacking. Any chance we can get Push to work on Planetscale working again @Andrew Sherman 🙂 https://github.com/drizzle-team/drizzle-orm/issues/2599
I can provide a Planetscale database if you need it for testing.
GitHub
[BUG]: Unique key reconciliation with upstream schema is inconsiste...
What version of drizzle-orm are you using? 0.31.2 What version of drizzle-kit are you using? 0.22.8 Describe the Bug Unique keys aren't able to be reconciled properly using Drizzle with PlanetS...
Or should have been fixed, seems like not. Let me check it 1 more time
I appreciate it, thanks Andrew. Let me know if there is anything I can do.
Small delay today, trying to push it tomorrow
Did you get the beta for this out?
It’s in beta
both drizzle-orm@beta and drizzle-kit@beta
Still going through tests for it
But you can try
It will be in beta for a few days and then latest
Finally getting to this @Andrew Sherman, not sure how to resolve this one
I’ve prepared a guide on how to update your project for this release(will be in release notes on latest soon). But can help you now
Please upgrade libsql client to 0.10.0 or higher
What is the status on this?
@Andrew Sherman
Right now im dropping tables every time before pushing for it to work proper
PR to latest
so should be in latest today