<div dir="ltr"><div>Hello,</div><div><br></div><div>We use Deployer (<a href="http://www.deployer.org">www.deployer.org</a>) to deploy and update our stable GIT branch on all of our customers' CRMs.</div><div><br></div><div>To install the database, the first time we use a dump file that is loaded. Next times, several scripts are automatically executed by deployer. Most of its scripts use the vtlib library to update the modules structure. Other scripts simply make requests to update data in the database.</div><div class="gmail_extra"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div dir="ltr"><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.727272033691406px;background-color:rgb(255,255,255)"><div><br></div><div>Regards,</div><div><br></div><div><font color="#666666">Jonathan SARDO<br></font></div></div></div></div></div></div>
<br><div class="gmail_quote">2018-01-30 9:51 GMT+01:00 IT-Solutions4You <span dir="ltr"><<a href="mailto:info@its4you.sk" target="_blank">info@its4you.sk</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">You need write a migration script which include SQL queries, module creation and others.<br>
<br>
Matus<br>
ITS4You<br>
<br>
Dňa 29. 1. 2018 o 18:34 Chris Thompson napísal(a):<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
Good luck once you have customers using your system.  We’re trying to come up with a solution here as well so very interested in responses for how to do a DB compare of dev and prod.  The standard dbcompare solution times out trying to complete a comparison.<br>
<br></span>
*From: *<<a href="mailto:vtigercrm-developers-bounces@lists.vtigercrm.com" target="_blank">vtigercrm-developers-bounces<wbr>@lists.vtigercrm.com</a>> on behalf of Martin Allen <<a href="mailto:martin.allen@clystnet.com" target="_blank">martin.allen@clystnet.com</a>><br>
*Reply-To: *<<a href="mailto:vtigercrm-developers@lists.vtigercrm.com" target="_blank">vtigercrm-developers@lists.v<wbr>tigercrm.com</a>><br>
*Date: *Monday, January 29, 2018 at 12:31 PM<br>
*To: *<<a href="mailto:vtigercrm-developers@lists.vtigercrm.com" target="_blank">vtigercrm-developers@lists.v<wbr>tigercrm.com</a>><br>
*Subject: *[Vtigercrm-developers] vTiger Development using GIT<span class=""><br>
<br>
We are starting to use GIT to manage our vTiger deployments and customisations, and have quickly realised that a large part of the process involves trying to control changes to the database (e.g. adding fields, workflows etc) that we need to be able to easily merge/migrate from development to live deployments.<br>
<br>
Has anyone successfully been using GIT and also working with managing database changes as well?<br>
<br>
The best suggestion I've seen so far is to create an automated script that creates a database dump prior to performing a GIT commit, which exports the necessary tables. (Not sure what the necessary tables are, Im thinking it would be easier to define which tables NOT to export)<br>
<br>
This would then need to be merged with any existing database.<br>
<br>
​Interested to see if anyone else has a solution, or another way round the problem.​<br>
<br>
-- <br>
<br>
Martin Allen<br>
<br>
______________________________<wbr>_________________ <a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a><br>
<br>
<br>
<br></span>
______________________________<wbr>_________________<br>
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a><br>
<br>
</blockquote>
<br>
<br>
______________________________<wbr>_________________<br>
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a></blockquote></div><br></div></div>