When adding a field on an existing entity, Jhipster modifies the create column statement.
This leads to errors with Liquibase when the project has already been deployed, as the changeset checksum will change.
Motivation for or Use Case
Although Jhipster is meant for bootstrapping a project, it should also allow to modify and redeploy a project generated with it.
Reproduce the error
Generate a new project with a DB such as MySQL
Create an entity with one field
Run the project
Add a field to your entity
Rerun the project
Suggest a Fix
Each time the entity subgenerator is called, Jhipster should create a new changeset.
Overview of the issue
When adding a field on an existing entity, Jhipster modifies the create column statement. This leads to errors with Liquibase when the project has already been deployed, as the changeset checksum will change.
Motivation for or Use Case
Although Jhipster is meant for bootstrapping a project, it should also allow to modify and redeploy a project generated with it.
Reproduce the error
Suggest a Fix
Each time the entity subgenerator is called, Jhipster should create a new changeset.