Closed cycomachead closed 4 years ago
are you sure the environment you're running migrate with has connection information? the error seems like the config for that environment is missing connection information
Definitely the config/environment is working. I can run lapis server
and things connect. I was running the app while trying to migrate. (Is that potentially a problem?) lapis exec seems to read the same environment.
Going to close this old issue. I'm assuming there was a mistake about how environment was specified. I've updated the docs on how the default environment is selected to help clear up any future issues with others.
This seems odd to me. running
lapis migrate
doesn't connect to the DB. But I have the app running and using the same credentials and everything is being read just fine.It's worth noting that the following works fine as work around: