storing database in version control

I am using a version control system to manage my wordpress code (git). What is the betst way to store the database information into version control?

I want to go to my staging machine, run git pull to get the latest code from my development machine, then maybe click one button or something like that to update the DB to match what I have on my development computer.

Read More

I also want a way to, on my stage machine, “merge” the my development DB with the production DB before pushing all of that to production.

so:

  1. how to update a DB after a git pull
  2. how to “merge” DB information.

Related posts

Leave a Reply

1 comment