0

I'm working on a version control program, and I would like to implement database structure versioning as well. Is there a way to get a list of all the queries that have altered the databse structure in any way?

For example I added a column to the 'users' table called 'remember_token'. Is there a way I can get the specific query that was executed on the MySQL server in order to add that column?

1
  • 1
    have you looked in the history ? Commented Nov 10, 2014 at 10:30

1 Answer 1

2

You may want to enable the mysql query log and then filter on ALTER queries or anything you need

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.