From 9f3d5f4b4c261b59bbe790bdf995652f61628ff2 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sun, 2 Nov 2008 09:46:42 +0000 Subject: [PATCH] "longtext need to be handled like text" --- phpgwapi/inc/class.schema_proc.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.schema_proc.inc.php b/phpgwapi/inc/class.schema_proc.inc.php index 02c01ae43c..efb768033e 100644 --- a/phpgwapi/inc/class.schema_proc.inc.php +++ b/phpgwapi/inc/class.schema_proc.inc.php @@ -233,7 +233,7 @@ class schema_proc { // only create indexes on text-columns, if (db-)specifiy options are given or FULLTEXT for mysql // most DB's cant do them and give errors - if ($aTableDef['fd'][$mFields]['type'] == 'text') + if (in_array($aTableDef['fd'][$mFields]['type'],array('text','longtext'))) { if ($this->sType == 'mysql') {