Upgrades from IceHrm Pro v24
This commit is contained in:
@@ -87,7 +87,7 @@ class MigrationManager
|
||||
|
||||
public function createMigration($file)
|
||||
{
|
||||
if (file_exists($this->migrationPath . $file)) {
|
||||
if (file_exists($this->migrationPath . $file) && !is_dir($this->migrationPath . $file)) {
|
||||
$migration = new Migration();
|
||||
$migration->file = $file;
|
||||
$parts = explode("_", $file);
|
||||
|
||||
Reference in New Issue
Block a user