src/Console/Commands/NetworkConfigCommand.php
protected function createSqliteDatabase()
    {
        $dbPath = config('database.connections.sqlite.database');
        $createDb = new Process("touch $dbPath");
        $createDb->run();

        if (! $createDb->isSuccessful()) {
            $this->warn("I couldn't create your SQLite database file.");
            $this->warn("Please create it after setup is complete and re-run setup.");
            $this->warn("Run `touch database/database.sqlite`");
            Storage::put('installer', '1');
            logger('NETWORK.INSTALL: Failed to create SQLite database');
            $this->hasError = true;

            return false;
        }

        $this->info("Database created at $dbPath.");

        return true;
    }
protected function createSqliteDatabase()
    {
        $dbPath = config('database.connections.sqlite.database');
        $createDb = new Process("touch $dbPath");
        $createDb->run();

        if (! $createDb->isSuccessful()) {
            $this->warn("I couldn't create your SQLite database file.");
            $this->warn("Please create it after setup is complete and re-run setup.");
            $this->warn("Run `touch database/database.sqlite`");
            Storage::put('installer', '1');
            logger('NETWORK.INSTALL: Failed to create SQLite database');
            $this->hasError = true;

            return false;
        }

        $this->info("Database created at $dbPath.");

        return true;
    }
protected function createSqliteDatabase ( ) { $ dbPath = config ( 'database.connections.sqlite.database' ) ; $ createDb = new Process ( "touch $dbPath" ) ; $ createDb -> run ( ) ; if ( ! $ createDb -> isSuccessful ( ) ) { $ this -> warn ( "I couldn't create your SQLite database file." ) ; $ this -> warn ( "Please create it after setup is complete and re-run setup." ) ; $ this -> warn ( "Run `touch database/database.sqlite`" ) ; Storage :: put ( 'installer' , '1' ) ; logger ( 'NETWORK.INSTALL: Failed to create SQLite database' ) ; $ this -> hasError = true ; return false ; } $ this -> info ( "Database created at $dbPath." ) ; return true ; }
Create the SQLite database file if this is the driver the user wants to use.

@return bool
Create the SQLite database file if this is the driver the user wants to use .