mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
N°3071 - fix missing index for AttributeSet (for migration)
This commit is contained in:
@@ -5754,6 +5754,7 @@ abstract class MetaModel
|
||||
{
|
||||
$aCondensedQueries[] = $sQuery;
|
||||
}
|
||||
unset($aPostTableAlteration[$sTable]);
|
||||
}
|
||||
}
|
||||
foreach ($aAlterTableMetaData as $sTableAlterQuery)
|
||||
@@ -5771,9 +5772,19 @@ abstract class MetaModel
|
||||
{
|
||||
$aCondensedQueries[] = $sQuery;
|
||||
}
|
||||
unset($aPostTableAlteration[$sTable]);
|
||||
}
|
||||
}
|
||||
|
||||
// Add alterations not yet managed
|
||||
foreach ($aPostTableAlteration as $aQueries)
|
||||
{
|
||||
foreach ($aQueries as $sQuery)
|
||||
{
|
||||
$aCondensedQueries[] = $sQuery;
|
||||
}
|
||||
}
|
||||
|
||||
return array($aErrors, $aSugFix, $aCondensedQueries);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user