From 4e1568e182036fb9a3a457a08538b7d116989a8d Mon Sep 17 00:00:00 2001 From: Arash Saffari Date: Sat, 20 May 2023 02:05:05 +0200 Subject: [PATCH] parent::__construct() moved after ->DBGroup assignment. --- .../Migrations/2020-12-28-223112_create_auth_tables.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Database/Migrations/2020-12-28-223112_create_auth_tables.php b/src/Database/Migrations/2020-12-28-223112_create_auth_tables.php index cdc64c8c4..6cbad0f42 100644 --- a/src/Database/Migrations/2020-12-28-223112_create_auth_tables.php +++ b/src/Database/Migrations/2020-12-28-223112_create_auth_tables.php @@ -19,8 +19,6 @@ class CreateAuthTables extends Migration public function __construct(?Forge $forge = null) { - parent::__construct($forge); - /** @var Auth $authConfig */ $authConfig = config('Auth'); @@ -30,6 +28,8 @@ public function __construct(?Forge $forge = null) $this->tables = $authConfig->tables; $this->attributes = ($this->db->getPlatform() === 'MySQLi') ? ['ENGINE' => 'InnoDB'] : []; + + parent::__construct($forge); } public function up(): void