[solved] SQLite in expo with useMigrations is failing without any error (just rollback)
I just tried to add a bunch of indexes to my SQLite DB, and the migration consistently fails to apply and I'm not getting any useful error message. Anyone have any ideas or how to better debug this?
I had it working for most indexes except two, I thought there was maybe something weird about that table, so I removed those and the rest worked fine. Now after a complete reset (clear app data) and a fresh migration from the ground up, it's failing to create a different index...
1 Reply
oh... do the names have to be unique? This is not made clear 😅 wish the error message told me this!