Jump to content

Working in a team / database migrations/sync


andrubeldie

Recommended Posts

Hi guys,

 

We are a team of 4 developers that just win a pretty complex project on prestashop.

 

We use VirtualBox VMs to develop, git for versioning and bitbucket as central storage.

 

I was thinking to bring Doctrine into project to handle DB migrations but before I start with this I thought to ask.

 

I'm sure there are many smart guys here that may have a better solution :)

 

So, do you know a way to keep DB in sync between all VMs so when one of us is i.e. disable a module, this is applied on all VMs?

 

Thanks,

Andru

 

 

Link to comment
Share on other sites

  • 2 months later...

Hi guys,

 

We are a team of 4 developers that just win a pretty complex project on prestashop.

 

We use VirtualBox VMs to develop, git for versioning and bitbucket as central storage.

 

I was thinking to bring Doctrine into project to handle DB migrations but before I start with this I thought to ask.

 

I'm sure there are many smart guys here that may have a better solution :)

 

So, do you know a way to keep DB in sync between all VMs so when one of us is i.e. disable a module, this is applied on all VMs?

 

Thanks,

Andru

 

Hello Andru,

 

Did you manage to resolve this? I am really interesting to hear your feedback because i am looking for a similar approach

Link to comment
Share on other sites

You really have two choices. You can either commit a sql dump to the repo, which becomes time consuming and redundant or you can develop on the VM but use a shared database on a server. I would personally do the latter. 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...