Error thrown when running multiple migrations against turso database

Initially discussed over on the Turso Discord, we've run into an issue when trying to run drizzle-kit migrations against a turso database - https://discord.com/channels/933071162680958986/1214468598001700914 I've created a scoped down repo to reproduce the error but would love any help to try and triage where the error is coming from - https://github.com/IsaiahByDayah/turso-drizzle-migration/tree/main The issue happening is that we've generated migration files with drizzle-kit, but when we try to run those migrations against the remote databse we get the following error (full error attached):
LibsqlError: SQLITE_UNKNOWN: SQLite error: cannot rollback - no transaction is active
LibsqlError: SQLITE_UNKNOWN: SQLite error: cannot rollback - no transaction is active
If these same migrations are instead ran 1 at a time though, they both work as expected creating the tables, indexes, and row entries Im pretty stumped and also not very experienced with sql/databases so any and al help is appreciated
GitHub
GitHub - IsaiahByDayah/turso-drizzle-migration: repro setup for fai...
repro setup for failing migrations. Contribute to IsaiahByDayah/turso-drizzle-migration development by creating an account on GitHub.
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server