Autoload migrations and inject connection manager