How to update existing table JHipster sample app?

前端 未结 2 1133
粉色の甜心
粉色の甜心 2021-02-09 02:38

I have created an entity called \"event\" using command yo jhipster:entity event while creating I forgot add one column let\'s say \"ev

2条回答
  •  栀梦
    栀梦 (楼主)
    2021-02-09 03:21

    You need to include the new changelog file in your src/main/resources/config/liquibase/master.xml file.

    
    

    Next time you run the app, changes will be applied.

    You can also update the database with the following maven task : mvn liquibase:update.

    Here is the doc about using jhipster in development.

提交回复
热议问题