diff --git a/.env.example b/.env.example index a92ffd61..fcc2ebcd 100644 --- a/.env.example +++ b/.env.example @@ -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 diff --git a/config/database.php b/config/database.php index 84830bec..3ba824a0 100644 --- a/config/database.php +++ b/config/database.php @@ -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'),