The jdl sub-generator update liquibase xxx_added_entity_zzzz.xml file when changing entity field type. This breaks liquibase versioning checksum so database update fails.
ready: Validation Failed:
1 change sets check sum
classpath:config/liquibase/changelog/20170724170916_added_entity_Transaction.xml::20170724170916-1::jhipster was: 7:35080fe5018db314e32723780afb33fc but is now: 7:a03e3f8a8aa39ab7bdd0b126e0acc40a
liquibase.exception.ValidationFailedException: Validation Failed:
1 change sets check sum
classpath:config/liquibase/changelog/20170724170916_added_entity_Transaction.xml::20170724170916-1::jhipster was: 7:35080fe5018db314e32723780afb33fc but is now: 7:a03e3f8a8aa39ab7bdd0b126e0acc40a
The db need to be deleted
Create jdl entity, import it with the sub-generator. Update one field in the jdl, use the sub-generator to import it again.
Create new changeset file for every update.
Did you read the documentation? Once it's generated you can use the Maven Liquibase goal.
If you re-generate, nothing is magical.
Related to this ticket: https://github.com/jhipster/generator-jhipster/issues/5954
@gimoh already started the work here: https://github.com/jhipster/generator-jhipster/pull/6016
Great.
Good job guys!
Did you read the documentation? Once it's generated you can use the Maven Liquibase goal.
If you re-generate, nothing is magical.
Which goal exactly?