mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-08-07 09:51:42 -04:00
Fixes for single account creation
This commit is contained in:
parent
c085845da1
commit
6a3b447395
@ -611,7 +611,6 @@ class CreateSingleAccount extends Command
|
||||
$cached_tables = config('ninja.cached_tables');
|
||||
|
||||
foreach ($cached_tables as $name => $class) {
|
||||
if (! Cache::has($name)) {
|
||||
// check that the table exists in case the migration is pending
|
||||
if (! Schema::hasTable((new $class())->getTable())) {
|
||||
continue;
|
||||
@ -629,7 +628,6 @@ class CreateSingleAccount extends Command
|
||||
if ($tableData->count()) {
|
||||
Cache::forever($name, $tableData);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user