Merge pull request #5193 from annando/dbstructure
Fix: Avoid endlessly dbstructure changes
This commit is contained in:
commit
d71281e45b
|
@ -322,8 +322,8 @@ class DBStructure
|
|||
$parameters['comment'] = "";
|
||||
}
|
||||
|
||||
$current_field_definition = implode(",", $field_definition);
|
||||
$new_field_definition = implode(",", $parameters);
|
||||
$current_field_definition = dba::clean_query(implode(",", $field_definition));
|
||||
$new_field_definition = dba::clean_query(implode(",", $parameters));
|
||||
if ($current_field_definition != $new_field_definition) {
|
||||
$sql2 = self::modifyTableField($fieldname, $parameters);
|
||||
if ($sql3 == "") {
|
||||
|
|
Loading…
Reference in a new issue