diff --git a/classes/MigrationModel.php b/classes/MigrationModel.php index d2236a3..1734fb3 100644 --- a/classes/MigrationModel.php +++ b/classes/MigrationModel.php @@ -122,7 +122,7 @@ public function save($executeOnSave = true) { $this->validate(); - if (!strlen($this->scriptFileName) || $this->isNewModel()) { + if (!strlen($this->scriptFileName)) { $this->assignFileName(); }