Create additional databases in Laravel Homestead
This blog post was originally published a little while ago. Please consider that it may no longer be relevant or even accurate.
I often see Homestead users just using the default homestead
database that ships with a new Homestead box, rather than creating a new database specific to their application. When you're hosting multiple applications through your Homestead instance it makes a lot more sense to name your databases per-application, often with a _testing
suffix for your test databses. It's actually really easy to add new databases inside your Homestead instance, and here are the instructions for both MySQL and PostgreSQL.