tracking changes made in database structure

后端 未结 7 1377
抹茶落季
抹茶落季 2021-02-06 17:34

How would I be able to track all changes to my database?

I need a way to find out exactly what changes I made to the database so that I can make the same changes on anot

7条回答
  •  暗喜
    暗喜 (楼主)
    2021-02-06 18:02

    A non-automated but useful way to keep track of changes to a db is with the MySQL Query Browser. It keeps a history of all operations you run while using it. This makes assembling a change script very straightforward.

    Obviously, this is not a solution if you're looking to replicate all changes made by all users. But if you are just looking to keep a set of changes in the correct order and avoid retyping them, it works pretty well.

提交回复
热议问题