I'm toying with a Play 1.2.3 application (Java) using a Heroku instance with a shared database.
My question is: how to update the database schema once the application is deployed? In fact, how to even initialize the database, as it is empty initially and Hibernate ddl in PROD mode is disabled?
On the options I've tried:
This is an issue as the cost difference between the free db (15$/month) and the cheapest option that gives Psql access (200$/month) is huge, and for a bootstrapped "testing-the-waters" site it matters.
Any of you having this problem? How are you solving it?
I use this one: https://github.com/ddollar/heroku-sql-console. It simply gives you an SQL console in your setup - I did not try to execute scripts.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With