Hi,
while thinking of process how could I manage another quite big project through the github, I realised I would like to create commits from live working localhost. It is not a problem to generate proper .gitignore not to include unwanted files in commits, however I realised sometimes also DB is updated.
As I try to use similar development process as phpBB uses, I started to think of this problem also with phpBB project.
Until now, I had not pushed any PR including DB changes, but I always developed them in this way: I have phpbb3/ directory on my localhost. It includes phpbb/phpbb repo. While developing for develop branch, I use config.php that connects to proper DB, and while developing for develop-olympus, it uses another config.php. I rename install/ directory so that I can use board, and before creating new commit, I rename it back to install/ so that it makes no harm.
With this proces, however, it is not possible to update DB if I download new commits my local repo is behind, or am I wrong?
How do you manage this? I did not meet with any complication, yet, however I cannot imagine how could I update my DB if needed. Is the reinstallation of board the only way?
Thanks for any reply!




