diff --git a/src/Generator/CleanTables.php b/src/Generator/CleanTables.php index d7a56ab..3846955 100644 --- a/src/Generator/CleanTables.php +++ b/src/Generator/CleanTables.php @@ -45,6 +45,8 @@ public function run(Registry $registry): Registry $state->forgetIndex($index); } + $state->setPrimaryKeys([]); + $schema->setState($state); } }