If you want to see the details of your database, you just need to type this on your terminal:
php artisan db:show
It will show the basic configuration of your database which is attached on your projects. As well as, you can see total number of tables and connections.
Now, you may have more than one database connected with your projects. If you wanna see a certain database details, you need to type
php artisan db:show --database=sqlite
or
php artisan db:show --database=pgsql
Thanks. Happy coding!!
Top comments (0)