请问有升级数据库的方法吗
#1266
Replies: 1 comment 3 replies
-
freesql 支持实体类与表对比,但是生产环境需要慎重。 建议使用专业的 DB 管理工具做这件事件,人工审核后执行。 例如,navicat 就可以对比两个表的结构。 |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
在应用升级过程中,可能会添加新表或者添加新字段,有没有方便的升级数据库的方法呢?
我的想法是:
读取旧数据库的表和表的字段
和新数据库对比,如果有新表或新字段,就生成更改脚本来升级旧数据库
freesql中有类似的实现吗?
如果没有现成的实现,可以给一些建议吗?
感谢。
Beta Was this translation helpful? Give feedback.
All reactions