We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dfaa01d commit 47ea825Copy full SHA for 47ea825
system/Database/SQLite3/Forge.php
@@ -183,8 +183,11 @@ protected function _attributeType(array &$attributes)
183
*/
184
protected function _attributeAutoIncrement(array &$attributes, array &$field)
185
{
186
- if (! empty($attributes['AUTO_INCREMENT']) && $attributes['AUTO_INCREMENT'] === true
187
- && stripos($field['type'], 'int') !== false) {
+ if (
+ ! empty($attributes['AUTO_INCREMENT'])
188
+ && $attributes['AUTO_INCREMENT'] === true
189
+ && stripos($field['type'], 'int') !== false
190
+ ) {
191
$field['type'] = 'INTEGER PRIMARY KEY';
192
$field['default'] = '';
193
$field['null'] = '';
0 commit comments