我正在使用jhipster来创建实体。我创建了一个名为certificate的实体,带有外部约束。我删除了约束和数据库中引用该约束的列,并且在尝试使用maven clean install进行编译时出现此错误:
;
谁知道如何解决这个问题。谢谢你
答案 0 :(得分:0)
Any change to db schema must done via Liquibase changesets, avoid doing manual changes. A changeset should be immutable, if you want to modify something create a new changeset don't modify an existing one.
Here, as you destroyed your h2 database with mvn clean, it just means that your last changeset is based on wrong assumptions about the database state.