reset foreignKeyConstraintsColumns on model loop start (#1461)

This commit is contained in:
snmatsui
2024-02-07 21:31:12 +01:00
committed by GitHub
parent f64ff9c0b1
commit c290af858d
+1
View File
@@ -266,6 +266,7 @@ class ModelsCommand extends Command
}
$this->properties = [];
$this->methods = [];
$this->foreignKeyConstraintsColumns = [];
if (class_exists($name)) {
try {
// handle abstract classes, interfaces, ...