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:
parent
55ef3545c7
commit
9f3f3fd450
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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'),
|
||||
|
|
|
|||
Loading…
Reference in New Issue