-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lein run :duct/migrator
doesn't work
#5
Comments
lein run :duct/migrator
doesn't work
It looks like I forgot to explain in the guide that Duct uses the |
Ok, make sense now. It works with the given variables. I'm closing this issue now. I can also update the doc if you want. |
I'm going to reopen this issue to remind me to add an explanation of the database variables. If you want to also submit a PR to add that information yourself, please feel free. |
I'm following the GUIDE.rst. I'm at the migrations section at the moment. Migrations seems to work flawlessly from REPL but I noticed that the command from Running Database Migrations in Production doesn't work.
I got error:
I understand the problem, though, I'm not sure how should I specify data source or jdbc url from the command line.
I noticed that in the error log the
:duct.database.sql/hikaricp
keyword is missing. Once I added:to the
config.edn
the commandlein run :duct/migrator
works fine.If this is the right solution for this issue, I can add a minor comment that the command requires definition of
:duct.database.sql/hikaricp
. If not, am I missing something?The text was updated successfully, but these errors were encountered: