diff --git a/src/Database/DBStructure.php b/src/Database/DBStructure.php index bd54ecf8c..7c82b518b 100644 --- a/src/Database/DBStructure.php +++ b/src/Database/DBStructure.php @@ -729,7 +729,7 @@ class DBStructure } if ($field['COLUMN_KEY'] == 'PRI') { - $fielddata[$field['COLUMN_NAME']]['primary'] = 1; + $fielddata[$field['COLUMN_NAME']]['primary'] = true; } $fielddata[$field['COLUMN_NAME']]['Collation'] = $field['COLLATION_NAME'];