Upgrading my jhipster application

早过忘川 提交于 2019-12-25 01:29:56

问题


Why there is no upgrade jhipster application without regenerating all the entities, if it is there any anyone please let me know?


回答1:


This is just a workaround for your specific problem and not a general instruction.

JHipster provides an upgrade sub generator to upgrade the application. You can run it on the JHipster app by running command jhipster upgrade this will upgrade the application and regenerate the entities and it is the recommended approach as there might be bug fixes and improvements on the entity code as well.

But if you really have to skip entities then the easiest way is to rename the .jhipster folder in your application root before you run the jhipster upgrade command. Once done rename it back.

This will remove some entries from your liquibase master.xml but I suggest you use git to restore then changes back



来源:https://stackoverflow.com/questions/47432733/upgrading-my-jhipster-application

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!