Dependency refresh.
Make sure Database.setActive(...) is set correctly during startup.