How can someone change the default database type in laravel?
Answer / Satish Kumar
To change the default database type in Laravel, you need to modify the '.env' file and update the 'DB_CONNECTION' parameter. Available options are 'mysql', 'pgsql', 'sqlite', 'sqlsrv', and 'postgresql'. After changing this setting, run `composer dump-autoload` and migrate your database again.
| Is This Answer Correct ? | 0 Yes | 0 No |
What are the main features of laravel?
What is laravel scout?
How to check ajax request in laravel?
What is meant by Attaching Headers ?
What are terminable middlewares?
What is name of first file that loaded in laravel?
List some aggregates methods provided by query builder in laravel?
What is meant by Attaching Cookies ?
How to send mail using queue in laravel 5?
Why we use csrf token in laravel?
Explain the concept of routing in laravel.
What is laravel policy?