From 6766e0fe6a2938833fbd126b50ff45552cbfd7d4 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Sun, 8 Jan 2023 19:10:31 +1100 Subject: [PATCH] Minor Fixes --- app/Utils/Traits/AppSetup.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/Utils/Traits/AppSetup.php b/app/Utils/Traits/AppSetup.php index 50fffb2a60af..a507d19d1559 100644 --- a/app/Utils/Traits/AppSetup.php +++ b/app/Utils/Traits/AppSetup.php @@ -40,10 +40,6 @@ trait AppSetup foreach ($cached_tables as $name => $class) { 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') { $orderBy = 'num_days'; } elseif ($name == 'fonts') {