简体   繁体   中英

PHP Database Deployment git/capistrano

I'm working for a company which is using PHP. There are different CMS Systems being used like Wordpress or Magento. We are working with git having our own repository server and we have to deploy to different servers our different customers.

I've set up a deploymentscript using capistrano which works fine but the Database Synchronisation is quite tricky.

Imagine the live-database contains user data and I have to create some new features after the site already launched and there are loads of sql data within the database already. I personally work with a dummy database since I don't need any customer information.

How are you PHP geeks are deploying your databases? I don't want to change the contents but only migrate new or modified tables. I'm looking for a complete deployment solution for that. I'm also open for other options besides capistrano if needed. Especially with Magento I had serious problems to keep my database sync..

Any help is appreciated.

最近,我发现了这个项目: http : //dbv.vizuina.com/ ,但是我没有使用过它,否则Symfony有一个类似的功能,称为Migrations,并且效果很好。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM