mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Minor Fixes
This commit is contained in:
parent
4af753230f
commit
6766e0fe6a
@ -40,10 +40,6 @@ trait AppSetup
|
|||||||
foreach ($cached_tables as $name => $class) {
|
foreach ($cached_tables as $name => $class) {
|
||||||
if (! Cache::has($name) || $force) {
|
if (! Cache::has($name) || $force) {
|
||||||
|
|
||||||
// check that the table exists in case the migration is pending
|
|
||||||
if (! Schema::hasTable((new $class())->getTable())) {
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
if ($name == 'payment_terms') {
|
if ($name == 'payment_terms') {
|
||||||
$orderBy = 'num_days';
|
$orderBy = 'num_days';
|
||||||
} elseif ($name == 'fonts') {
|
} elseif ($name == 'fonts') {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user