mirror of
https://github.com/Combodo/iTop.git
synced 2026-08-14 17:58:19 +02:00
N°1420 - Fix index generation
SVN:2.4[5866]
This commit is contained in:
@@ -3858,6 +3858,7 @@ abstract class MetaModel
|
||||
$aCreateTableItems[$sTable][$sField] = $sFieldDefinition;
|
||||
if ($bIndexNeeded)
|
||||
{
|
||||
$aTableInfo['Indexes'][$sField]['used'] = true;
|
||||
$aCreateTableItems[$sTable][] = "INDEX (`$sField`)";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user