Run database create for sqlite

This commit is contained in:
Nabeel Shahzad
2017-12-14 22:32:52 -06:00
parent 1e866f8fa7
commit 80c69552f2
3 changed files with 12 additions and 10 deletions

View File

@@ -11,12 +11,12 @@ class EnvironmentService
* Create the .env file
* @return boolean
*/
public function createEnvFile($type, $host, $port, $name, $user, $pass)
public function createEnvFile($driver, $host, $port, $name, $user, $pass)
{
$opts = [
'APP_ENV' => 'dev',
'APP_KEY' => $this->createAppKey(),
'DB_CONN' => $type,
'DB_CONN' => $driver,
'DB_HOST' => $host,
'DB_PORT' => $port,
'DB_NAME' => $name,