app->runningInConsole()) { if (Schema::hasTable($table)) { Config::load(); } } } }