1
0
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:
David Bomba 2021-05-03 22:25:45 +10:00
parent 94a323b29b
commit a9aeb906c3

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}"));