Migrations, Factories, and Seeding, with John Bonaccorsi
Eloquent and the Query Builder allow us to interact with our database, but how do we get those databases in the right shape? How do we define their schema, their sample data, or how to run tests against them? In this episode Factory King John Bonaccorsi talks all about these other tools we use every day to interact with our databases.
- John on Twitter (https://twitter.com/imjohnbon)
- Laravel Docs on Migration (https://laravel.com/docs/7.x/migrations)
- Laravel Docs on Factories (https://laravel.com/docs/7.x/packages#factories)
- Laravel Docs on Seeding (https://laravel.com/docs/7.x/seeding)
- Twenty Percent Time Podcast: Class Based Model Factories (https://twentypercenttime.simplecast.com/episodes/john-bonaccorsi-class-based-model-factories)
- Laracasts: Improve Test Arrangements with Factory Classes (https://laracasts.com/series/build-a-laravel-app-with-tdd/episodes/17)
- Blog Post on Class-Based model Factories (https://tighten.co/blog/tidy-up-your-tests-with-class-based-model-factories/)
- Tighten on Twitter (https://twitter.com/tightenco)
- Tighten's Blog (https://tighten.co/blog/)
- Fantasy BB (https://fantasybb.com/)
- Avatar: The Last Airbender (https://en.wikipedia.org/wiki/Avatar:_The_Last_Airbender)
- Laravel 8 Model Factory Classes (https://laravel.com/docs/8.x/releases#laravel-8)
-----
Creators and Guests
Host
Matt Stauffer
CEO Tighten, where we write Laravel and more w/some of the best devs alive. "Worst twerker ever, best Dad ever" –My daughter