From 0a3badd8e5b97264343d3e2ce60096f4f01c5449 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kezimana=20Aim=C3=A9=20Angelo?= Date: Thu, 14 Jan 2021 00:25:17 +0200 Subject: [PATCH] Fix error: add userClass key in config array --- migrations.php | 1 + 1 file changed, 1 insertion(+) diff --git a/migrations.php b/migrations.php index ffa46c6..e2a45ca 100644 --- a/migrations.php +++ b/migrations.php @@ -8,6 +8,7 @@ $dotenv->load(); $config = [ + 'userClass' => \app\models\User::class, 'db' => [ 'dsn' => $_ENV['DB_DSN'], 'user' => $_ENV['DB_USER'],