MySQL Version Control - Subversion

后端 未结 3 1242
攒了一身酷
攒了一身酷 2020-12-08 09:50

Wondering if it is possible to have a version control of a MySQL database.

I realize this question has been asked before however the newest is almost a year ago, and

3条回答
  •  醉话见心
    2020-12-08 10:26

    There is a tool called iBatis, now called MyBatis that handles versions of databases perfectly.

    It takes a little work to have all your changes in script instead of with a graphical tool, but, if you are familiar with coding, it's not a problem.

    When you have multiple databases (like dev-test-prod), you just make 3 environment files and you can update one environment with only one command-line instruction.

提交回复
热议问题