My team and I are currently using Git to manage our version control. We want to start using it for our migration-less systems too, but the issue we're having is that of absolute URLs embedded in the (MySQL) database. Using a shared database breaks our local environments. Another issue is changes performed on identical tables, though we have yet to think that one out properly.
We tried doing it through a mysqldump
, then replacing all absolute URLs through sed
, but this is very finnicky. We're wondering if there's a better way to do it.
I can't imagine we are the first people having this question. But either I have the absolutely poorest investigatory skills, or there really isn't all that much information about this.
Could anybody point me into the right direction?
Thanks!