diff --git a/src/Resources/ScaffoldResource.php b/src/Resources/ScaffoldResource.php index e8a89f1..09df17a 100644 --- a/src/Resources/ScaffoldResource.php +++ b/src/Resources/ScaffoldResource.php @@ -158,7 +158,7 @@ public static function getTableColumns($tableName) ]; foreach ($columns as $column) { - if ($column->Key === 'PRI') { + if ($column->Field === 'id' && $column->Field === 'ID') { continue; }