|
|
@@ -1068,7 +1068,7 @@ class Core_Database_Mysql extends Core_Database {
|
|
|
|| ( strstr($VAL->Type, 'datetime') ) && strstr($ARR_TABLE['FIELDS'][$INDEX_OF_CONFIG_TABLE]->Type, 'char' )
|
|
|
|| ( strstr($VAL->Type, 'datetime') ) && strstr('varchar' ,$ARR_TABLE['FIELDS'][$INDEX_OF_CONFIG_TABLE]->Type)
|
|
|
|| ( strstr($VAL->Type, 'datetime') ) && strstr($ARR_TABLE['FIELDS'][$INDEX_OF_CONFIG_TABLE]->Type, 'date' )
|
|
|
- || ( strstr($VAL->Type, 'tinyint') ) && strstr($ARR_TABLE['FIELDS'][$INDEX_OF_CONFIG_TABLE]->Type, 'tinyint' )
|
|
|
+ || ( strstr($VAL->Type, 'tinyint(') ) && strstr($ARR_TABLE['FIELDS'][$INDEX_OF_CONFIG_TABLE]->Type, 'tinyint(' )
|
|
|
) {
|
|
|
|
|
|
$sql=" alter table `".$TABLE."` CHANGE `".$FIELD_TO_CHK."` `".$FIELD_TO_CHK."` ".$ARR_TABLE['FIELDS'][$INDEX_OF_CONFIG_TABLE]->Type." ; ";
|