[Vtigercrm-commits] [vtiger-commits] r10037 - in /vtigercrm/branches/5.0.3/modules/Migration: ./ DBChanges/ language/

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Thu Jan 11 12:53:21 EST 2007


Author: richie
Date: Thu Jan 11 10:53:08 2007
New Revision: 10037

Log:
* Totally changed the file structure to run the migration for patches also

Added:
    vtigercrm/branches/5.0.3/modules/Migration/DBChanges/
    vtigercrm/branches/5.0.3/modules/Migration/DBChanges/42P2_to_50.php   (with props)
    vtigercrm/branches/5.0.3/modules/Migration/DBChanges/501_to_502.php   (with props)
    vtigercrm/branches/5.0.3/modules/Migration/DBChanges/502_to_503.php
    vtigercrm/branches/5.0.3/modules/Migration/MigrationInfo.php   (with props)
    vtigercrm/branches/5.0.3/modules/Migration/PatchApply.php
    vtigercrm/branches/5.0.3/modules/Migration/deleteCustomFields.php   (with props)
    vtigercrm/branches/5.0.3/modules/Migration/index.php
    vtigercrm/branches/5.0.3/modules/Migration/rename_tables.php   (with props)
    vtigercrm/branches/5.0.3/modules/Migration/versions.php
Modified:
    vtigercrm/branches/5.0.3/modules/Migration/Migration.php
    vtigercrm/branches/5.0.3/modules/Migration/language/en_us.lang.php

Modified: vtigercrm/branches/5.0.3/modules/Migration/Migration.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Migration/Migration.php (original)
+++ vtigercrm/branches/5.0.3/modules/Migration/Migration.php Thu Jan 11 10:53:08 2007
@@ -299,8 +299,8 @@
 
 		//To handle the file includes for each and every version
 		//Here we have to decide which files should be included, where the files will be added newly for every public release
-		//Handle Here -- Mickie
-		include("modules/Migration/ModifyDatabase/MigrationInfo.php");
+		//In this included file we have included modules/Migration/DBChanges/42P2_to_50.php which will apply the db changes upto 5.0.
+		include("modules/Migration/MigrationInfo.php");
 
 		$migrationlog->debug("Mickie ---- Ends\n\n\n");
 	}

Modified: vtigercrm/branches/5.0.3/modules/Migration/language/en_us.lang.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Migration/language/en_us.lang.php (original)
+++ vtigercrm/branches/5.0.3/modules/Migration/language/en_us.lang.php Thu Jan 11 10:53:08 2007
@@ -75,6 +75,8 @@
 'LBL_MYSQL_SERVER_PATH'=>'MySQL Server Path : ',
 'LBL_MIGRATE_BUTTON'=>'Migrate',
 'LBL_CANCEL_BUTTON'=>'Cancel',
+'LBL_UPGRADE_FROM_VTIGER_5X'=>'Upgrade database from vtiger CRM 5.x to next version',
+'LBL_PATCH_OR_MIGRATION'=>'you must specify the source database version (Patch update or Migration)',
 
 
 );





More information about the vtigercrm-commits mailing list