Rakesh
Rakesh

Reputation: 13

JHipster modify the entity and update in DB

How to update the DB(MySQL) after making changes in JHipster entity

Tried with mvnw liquibase:diff

Upvotes: 0

Views: 2259

Answers (2)

Rakesh
Rakesh

Reputation: 13

mvn liquibase:clearCheckSums with this command I am able to resolve my issue. It worked

Upvotes: 0

Gaël Marziou
Gaël Marziou

Reputation: 16284

If you have made manual changes to your entity, you must create a Liquibase migration, add it to master.xml ancd then re-start your app. If you made changes to database, you must also update entity code.

Upvotes: 2

Related Questions