mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 21:22:58 +01:00
Fixes for migration
This commit is contained in:
parent
94a323b29b
commit
a9aeb906c3
@ -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}"));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user