private function sqlite($outputLog)
    {
        if(DB::connection() instanceof SQLiteConnection) {
            $database = DB::connection()->getDatabaseName();
            if(!file_exists($database)) {
                touch($database);
                DB::reconnect(Config::get('database.default'));
            }
            $outputLog->write('Using SqlLite database: ' . $database, 1);
        }
    }
private function sqlite($outputLog)
    {
        if(DB::connection() instanceof SQLiteConnection) {
            $database = DB::connection()->getDatabaseName();
            if(!file_exists($database)) {
                touch($database);
                DB::reconnect(Config::get('database.default'));
            }
            $outputLog->write('Using SqlLite database: ' . $database, 1);
        }
    }
private function sqlite ( $ outputLog ) { if ( DB :: connection ( ) instanceof SQLiteConnection ) { $ database = DB :: connection ( ) -> getDatabaseName ( ) ; if ( ! file_exists ( $ database ) ) { touch ( $ database ) ; DB :: reconnect ( Config :: get ( 'database.default' ) ) ; } $ outputLog -> write ( 'Using SqlLite database: ' . $ database , 1 ) ; } }
check database type. If SQLite, then create the database file.

@param collection $outputLog
check database type . If SQLite then create the database file .