tursodatabase / libsql

libSQL is a fork of SQLite that is both Open Source, and Open Contributions.
https://turso.tech/libsql
MIT License
11.31k stars 286 forks source link

Allow single transaction in schema migration #1422

Closed haaawk closed 5 months ago

haaawk commented 5 months ago

Only allow single transaction that wraps the whole migration.

haaawk commented 5 months ago

It seems that it's not gonna be that easy unfortunately :(

"SQLite error: An error occured executing the migration at step 1: Invalid batch step: 0","code":"SQLITE_UNKNOWN"
haaawk commented 5 months ago

Now, that's an interesting error :)

"SQLite error: An error occured executing the migration at step 1: not an error","code":"SQLITE_UNKNOWN"