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/500
GitHub
[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...
No description
13 Replies
Andrii Sherman
Andrii Sherman3mo ago
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)
Mads
Mads3mo ago
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...
Andrii Sherman
Andrii Sherman3mo ago
Or should have been fixed, seems like not. Let me check it 1 more time
Mads
Mads3mo ago
I appreciate it, thanks Andrew. Let me know if there is anything I can do.
Andrii Sherman
Andrii Sherman3mo ago
Small delay today, trying to push it tomorrow
theo (t3.gg)
theo (t3.gg)OP3mo ago
Did you get the beta for this out?
Andrii Sherman
Andrii Sherman3mo ago
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
theo (t3.gg)
theo (t3.gg)OP3mo ago
Finally getting to this @Andrew Sherman, not sure how to resolve this one
No description
Andrii Sherman
Andrii Sherman3mo ago
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
Gaden
Gaden2mo ago
What is the status on this? @Andrew Sherman Right now im dropping tables every time before pushing for it to work proper
Andrii Sherman
Andrii Sherman2mo ago
PR to latest so should be in latest today
Want results from more Discord servers?
Add your server