I’m trying to get phoenix with sqlite3 working. I mounted a volume in which I placed a sqlite db. Everything works now except the migrations running. Im gussing it could be because they run in the builder and the builder doesn’t have access to the volume. If I comment out the migrations everything works but if I keep them it fails:
21:23:21.352 [error] Exqlite.Connection (#PID<0.128.0>) failed to connect: ** (Exqlite.Error) got :enoent while retrieving Exception.message/1 for %Exqlite.Error{message: :enoent, statement: nil} (expected a string)
21:23:21.352 [error] Exqlite.Connection (#PID<0.127.0>) failed to connect: ** (Exqlite.Error) got :enoent while retrieving Exception.message/1 for %Exqlite.Error{message: :enoent, statement: nil} (expected a string)
21:23:22.769 [error] Exqlite.Connection (#PID<0.128.0>) failed to connect: ** (Exqlite.Error) got :enoent while retrieving Exception.message/1 for %Exqlite.Error{message: :enoent, statement: nil} (expected a string)
indexes with a migration_lock)
Any idea how to fix it? Would be nice to just have the migrations run automatically and not having to download them to the local computer and then run them there and then upload the files to the volume again.