changed the default db adapter

In the docker compose file we are using Postgres as the DB but the
default adapter is set to use MySQL so trying to create the default app
out the box does not work.
This commit is contained in:
Jeremy Quinton 2018-06-29 18:44:34 +02:00
parent 55ef3545c7
commit 9f3f3fd450
2 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@ APP_CIPHER=AES-256-CBC
APP_KEY=
APP_TIMEZONE=
DB_TYPE=mysql
DB_TYPE=pgsql
DB_HOST=db
DB_PORT=3306
DB_DATABASE=attendize

View File

@ -26,7 +26,7 @@ return [
|
*/
'default' => env('DB_TYPE', 'mysql'),
'default' => env('DB_TYPE', 'pgsql'),
/*
|--------------------------------------------------------------------------
@ -59,7 +59,7 @@ return [
],
'mysql' => [
'driver' => 'mysql',
'driver' => 'pgsql',
'host' => env('DB_HOST'),
'port' => env('DB_PORT'),
'database' => env('DB_DATABASE'),