On dev, we might branch and test various things, then once we’re done, we merge back to master and push it to github. You generally don’t need to branch though - this is primarily to test things concurrently with the master branch, you can work just off the master and push/pull as needed.
Once you are happy with the updates and want to push it live, that’s when we merely do a “git pull origin master” from the live server.
Hello, @Wonshikee
I will give it a try at let you know what I end up with. Thanks again @cw6365: Is question directed to the op ?
On this case, stage and production will share the same db schema.
If a major structure change arrive, yes we may not have the benefit of having it back on this workflow I suppose.
Place a db schema under version control seems to be, on lamp applications a little bit tricky.
Do you suggest something else?