Fixed a bug with the automated update sql that ensured that the sql for new fields gets added.

This commit is contained in:
2017-06-29 22:03:53 +01:00
parent 111aa4a3de
commit aceda7bae2
186 changed files with 187 additions and 187 deletions

View File

@ -1759,13 +1759,13 @@ class Fields extends Structure
$this->queryBuilder[$viewName][$name]['lenght_other'] = $field['settings']->datalenght_other;
$this->queryBuilder[$viewName][$name]['default'] = $field['settings']->datadefault;
$this->queryBuilder[$viewName][$name]['other'] = $field['settings']->datadefault_other;
// to identify the field
$this->queryBuilder[$viewName][$name]['ID'] = $field['settings']->id;
}
else
{
$this->queryBuilder[$viewName][$name]['default'] = 'EMPTY';
}
// to identify the field
$this->queryBuilder[$viewName][$name]['ID'] = $field['settings']->id;
$this->queryBuilder[$viewName][$name]['null_switch'] = $field['settings']->null_switch;
// set index types
if ($field['settings']->indexes == 1 && !in_array($field['settings']->datatype, $textKeys))