mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 11:08:45 +02:00
Fix DBSchema update fails when an ENUM column contains values which are not / no longer part of the field definition (#188)
This commit is contained in:
@@ -1120,7 +1120,7 @@ EOF
|
||||
}
|
||||
}
|
||||
}
|
||||
elseif (strcasecmp(CMDBSource::GetFieldType($sTable, $sColName), $sColumnDef) != 0)
|
||||
elseif (!CMDBSource::IsSameFieldTypes(CMDBSource::GetFieldSpec($sTable, $sColName), $sColumnDef))
|
||||
{
|
||||
$bFixNeeded = true;
|
||||
$bOneColIsMissing = true;
|
||||
|
||||
Reference in New Issue
Block a user