Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

建议集成Flyway对数据库脚本进行管理 #1008

Closed
liaoyongxiong opened this issue Mar 16, 2020 · 4 comments
Closed

建议集成Flyway对数据库脚本进行管理 #1008

liaoyongxiong opened this issue Mar 16, 2020 · 4 comments

Comments

@liaoyongxiong
Copy link

版本号:2.1.4
问题描述:建议集成Flyway对数据库脚本进行管理

现在平台没次发布版本,大部份情况会对数据库有增加、修改,建议引入工具对数据库脚本做版本管理。
Flyway是一个简单开源数据库版本控制器(约定大于配置),主要提供migrate、clean、info、validate、baseline、repair等命令。它支持SQL(PL/SQL、T-SQL)方式和Java方式,支持命令行客户端等,还提供一系列的插件支持(Maven、Gradle、SBT、ANT等)。

官方网站:https://flywaydb.org/

截图&代码:

友情提示: 未按格式要求发帖,会直接删掉。

@wan84
Copy link

wan84 commented Apr 15, 2021

好东西

@leetone123
Copy link

建议使用Liquibase来对数据进行初始化操作,在部署新系统时,非常好用,还可以数据备份回滚,具体参见官网教程:
https://www.liquibase.org/get-started/quickstart

@zhangdaiscott
Copy link
Member

类似问题 #2297

@wan84
Copy link

wan84 commented Jun 4, 2021

类似问题 #2297

DB脚本和迁移,什么时候安排上啊?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants