From f6ac4a820169e9cbc0fa98bf54bc8f85037a7e60 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Sun, 4 Oct 2020 19:52:58 +1100 Subject: [PATCH] Add mysqlnd requirement to systemhealth check --- app/Console/Commands/DemoMode.php | 2 +- app/Models/Gateway.php | 2 +- app/Utils/SystemHealth.php | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/Console/Commands/DemoMode.php b/app/Console/Commands/DemoMode.php index f58b9d5bfdd6..b26f72670d21 100644 --- a/app/Console/Commands/DemoMode.php +++ b/app/Console/Commands/DemoMode.php @@ -198,7 +198,7 @@ class DemoMode extends Command if (! $u2) { $u2 = User::factory()->create([ 'email' => 'demo@invoiceninja.com', - 'password' => Hash::make('demo'), + 'password' => Hash::make('Password0'), 'account_id' => $account->id, 'confirmation_code' => $this->createDbHash(config('database.default')), ]); diff --git a/app/Models/Gateway.php b/app/Models/Gateway.php index f658e84fa15a..5ab72a3b8147 100644 --- a/app/Models/Gateway.php +++ b/app/Models/Gateway.php @@ -21,7 +21,7 @@ class Gateway extends StaticModel 'is_secure' => 'boolean', 'recommended' => 'boolean', //'visible' => 'boolean', - //'sort_order' => 'int', + 'sort_order' => 'int', 'updated_at' => 'timestamp', 'created_at' => 'timestamp', 'default_gateway_type_id' => 'string', diff --git a/app/Utils/SystemHealth.php b/app/Utils/SystemHealth.php index 4c7814bbaa20..05a3395b5906 100644 --- a/app/Utils/SystemHealth.php +++ b/app/Utils/SystemHealth.php @@ -26,6 +26,7 @@ class SystemHealth { private static $extensions = [ 'mysqli', + 'mysqlnd', 'gd', 'curl', 'zip',