diff --git a/phpgwapi/inc/class.schema_proc.inc.php b/phpgwapi/inc/class.schema_proc.inc.php index 73aa9af088..fabcbf0709 100644 --- a/phpgwapi/inc/class.schema_proc.inc.php +++ b/phpgwapi/inc/class.schema_proc.inc.php @@ -324,7 +324,9 @@ } } - if(count($aTableDef['ix']) > 0) + // fast hack to enable this only for MySQL, as I need to fix it for the other db's + // which dont like indices in contrain syntax + if(count($aTableDef['ix']) > 0 && $this->sType == 'mysql') { if(!$this->_GetIX($aTableDef['ix'], $sIXSQL)) {