Saturday, August 8, 2020

Clojure Postgres Heroku

Nuke the heroku database!

  heroku pg:reset DATABASE_URL

Run migration or rollback:

 heroku run bash

then from the command line:

java -jar target/uberjar/<appname>.jar migrate

java -jar target/uberjar/<appname>.jar rollback

No comments:

Post a Comment