Having some issues when uploading my jhipster generated app to heroku, after some research I found out that some entity modifications I did while developing are not done in production db so some fields are missing.
I also added a field to User entity, so now I cannot even register/login while that field is missing from the table.
Would like to know how exacly the database generation works in prod mode so I can make it work. Could it be related to smth missing in liquibase changelog?(I'm absolutely new to liquibase so I'm a bit lost).
The problem seems to be a missing column from "jhi_user" table. I need to create a database changelog to add that missing column, so I ran
I saw the correct changelog poping in the console, but no changelog was created under my changelogs folder. What am i doing wrong?
The problem was changelogs were not beeing generated when i created entities from yo jhipster:entity command.
Solved the issue doing:
Plus some hand-done changesets and adding them to master.xml.
mvn liquibase:dropAll mvn liquibase:update
Then deployed to heroku and every table was created.