[Vtigercrm-commits] [vtiger-commits] r6648 - /vtigercrm/trunk/modules/Migration/ModifyDatabase/42P2_to_50Alpha.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Mon May 29 03:51:36 EDT 2006
Author: saraj
Date: Mon May 29 01:51:33 2006
New Revision: 6648
Log:
* Modified the hour values from default to some values in users table alter queries
Modified:
vtigercrm/trunk/modules/Migration/ModifyDatabase/42P2_to_50Alpha.php
Modified: vtigercrm/trunk/modules/Migration/ModifyDatabase/42P2_to_50Alpha.php
==============================================================================
--- vtigercrm/trunk/modules/Migration/ModifyDatabase/42P2_to_50Alpha.php (original)
+++ vtigercrm/trunk/modules/Migration/ModifyDatabase/42P2_to_50Alpha.php Mon May 29 01:51:33 2006
@@ -2698,9 +2698,9 @@
Execute($create_query27);
$alter_query_array17 = Array(
- "ALTER TABLE users ADD column hour_format varchar(30) default NULL AFTER date_format",
- "ALTER TABLE users ADD column start_hour varchar(30) default NULL AFTER hour_format",
- "ALTER TABLE users ADD column end_hour varchar(30) default NULL AFTER start_hour"
+ "ALTER TABLE users ADD column hour_format varchar(30) default 'am/pm' AFTER date_format",
+ "ALTER TABLE users ADD column start_hour varchar(30) default '10:00' AFTER hour_format",
+ "ALTER TABLE users ADD column end_hour varchar(30) default '23:00' AFTER start_hour"
);
foreach($alter_query_array17 as $query)
{
More information about the vtigercrm-commits
mailing list