'How to update Heroku Postgress database after updated JDL entities on Jhipster

I have deployed a Jhipster application in Heroku using PostgreSQL as database. First time I deployed, the entities I created on the JDL file have been created as table on Postgres. Now I have created other entities on the JDL file and I run:

jhipster jdl jhipster-jdl.jdl

to create the entities files. Then I deployed the application on Heroku, but I can't see the new tables on Postgress. I also tried to update the changelogs (master.xml file) with the command:

mvnw liquibase:diff

and deployed again, but I can't still see the tables. What I am doing wrong? How I create new tables on Heroku Postgress database after I updated my jdl ?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source