best practice to expand a project at production with liquibase

喜夏-厌秋 提交于 2019-12-13 04:25:12

问题


I have a java ee project with an existing database. Now I expand my project local by using the liquibase-maven-plugin. The project create automatically a tag and makes an update.

Are there any steps or preparations I have to take care of before deploying this project at the production?

Local f.e. I played with the generateChangeLog command, which creates a xml-schema file of the existing database. Do I need this file for any purpose?

Actually I just can set first of all a tag and then go on and work with liquibase and the database. Do I miss here something or is it really that easy?


回答1:


It should be that easy. The goal should be to run liquibase update against your development and QA databases as you make your changes, then simply run liquibase update against your production database when you deploying your new code and it will just work.



来源:https://stackoverflow.com/questions/14603880/best-practice-to-expand-a-project-at-production-with-liquibase

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