Reversed "null"

This commit is contained in:
Michael 2021-06-14 05:14:09 +00:00
parent 31db9dbef7
commit a827f948c8
73 changed files with 752 additions and 752 deletions

View file

@ -172,7 +172,7 @@ class DBStructure
$field['name'] = $key;
$field['comment'] = $value['comment'] ?? '';
$field['type'] = $value['type'];
$field['notnull'] = ($value['not null'] ?? false) ? 'YES' : 'NO';
$field['null'] = ($value['not null'] ?? false) ? 'NO' : 'YES';
$field['primary'] = ($value['primary'] ?? false) ? 'PRI' : '';
$field['default'] = $value['default'] ?? 'NULL';
$field['extra'] = $value['extra'] ?? '';