You can use Schema methods — e.g. table() or create() — outside of migrations

You can use Schema methods — e.g. table() or create() — outside of migrations

I don't do it very often, but you can use Laravel's Schema builder anywhere you want, not just in migrations!

If you ever need to make a temp table to help you mass process data more quickly, it's a great solution.

We're writing a book, you can get it for free here.