mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 10:38:45 +02:00
N°3071 - fix missing index for AttributeSet
This commit is contained in:
@@ -5747,6 +5747,14 @@ abstract class MetaModel
|
||||
{
|
||||
$sTableItems = implode(', ', $aCreateTableItems[$sTable]);
|
||||
$aCondensedQueries[] = "CREATE TABLE `$sTable` ($sTableItems) $sTableOptions";
|
||||
// Add request right after the CREATE TABLE
|
||||
if (isset($aPostTableAlteration[$sTable]))
|
||||
{
|
||||
foreach ($aPostTableAlteration[$sTable] as $sQuery)
|
||||
{
|
||||
$aCondensedQueries[] = $sQuery;
|
||||
}
|
||||
}
|
||||
}
|
||||
foreach ($aAlterTableMetaData as $sTableAlterQuery)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user