
Season 4 · Episode 11
Migrations, Factories, and Seeding, with John Bonaccorsi
The Laravel Podcast · John Bonaccorsi, Matt Stauffer
August 18, 20201h 4m
Audio is streamed directly from the publisher (media.transistor.fm) as published in their RSS feed. Play Podcasts does not host this file. Rights-holders can request removal through the copyright & takedown page.
Show Notes
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)
-----
Editing sponsored by Tighten; transcript sponsored by Larajobs.
Topics
phpweb developmentseedersthe laravel podcastjohn bonaccorsiweb frameworkmigrationsprogrammingdatabase seedersdatabase migrationsdatabase factoriesfactorieslaravel