Merge pull request #5592 from turbo124/v5-develop

Fixes for migration
This commit is contained in:
David Bomba 2021-05-03 22:25:58 +10:00 committed by GitHub
commit 0626c941f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -109,7 +109,7 @@ class StartMigration implements ShouldQueue
throw new NonExistingMigrationFile('Migration file does not exist, or it is corrupted.'); throw new NonExistingMigrationFile('Migration file does not exist, or it is corrupted.');
} }
Import::dispatchNow($file, $this->company, $this->user)->onQueue('migration'); Import::dispatchNow($file, $this->company, $this->user);
Storage::deleteDirectory(public_path("storage/migrations/{$filename}")); Storage::deleteDirectory(public_path("storage/migrations/{$filename}"));