spacedrive
spacedrive copied to clipboard
Migrations failing to apply
Describe the bug
Not all migrations are applied successfully, even on a fresh database. This is causing the majority of queries to fail.
Also causing the "Loading..." state as the volumes table is never created, just "new_Volume" and "new_volumes".
On my branch "jamie-unsorted-changes" I have wiped the migration folder and rebuilt to move past this issue, but I suspect if there is a problem with the migration runner that it will cause problems again. I don't think it's prisma's migration generation, it all looks in tact.


Reproduction
- be on main branch where the migration folder still exists
- clear your Spacedrive data folder
- run app and observe errors
Expected behavior
No response
Platform and versions
6.32.3
cargo 1.60.0 (d1fd9fe2c 2022-03-01)
rustc 1.60.0 (7737e0b5c 2022-04-04)
Stack trace
No response
Additional context
No response