From b76e1c09f4691ea4eb6d4e29c84e890285491e36 Mon Sep 17 00:00:00 2001 From: sausin Date: Sat, 11 Apr 2020 09:19:37 +0530 Subject: [PATCH] Update SetAutoIncrementCommand.php --- src/Commands/SetAutoIncrementCommand.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Commands/SetAutoIncrementCommand.php b/src/Commands/SetAutoIncrementCommand.php index b791479..ecedecb 100644 --- a/src/Commands/SetAutoIncrementCommand.php +++ b/src/Commands/SetAutoIncrementCommand.php @@ -59,6 +59,8 @@ class SetAutoIncrementCommand extends Command */ public function __construct() { + parent::__construct(); + $this->mode = Config::get('auto-increment.mode', 'skip'); $this->skipTables = Config::get('auto-increment.skipTables', ['migrations']); $this->onlyTables = Config::get('auto-increment.onlyTables', []);