The Laravel Podcast

Migrations, Factories, and Seeding, with John Bonaccorsi


Listen Later

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.

...more
View all episodesView all episodes
Download on the App Store

The Laravel PodcastBy Taylor Otwell, Matt Stauffer

  • 4.9
  • 4.9
  • 4.9
  • 4.9
  • 4.9

4.9

57 ratings


More shows like The Laravel Podcast

View all
99% Invisible by Roman Mars

99% Invisible

26,259 Listeners

The Talk Show With John Gruber by Daring Fireball / John Gruber

The Talk Show With John Gruber

3,143 Listeners

Talk Python To Me by Michael Kennedy

Talk Python To Me

583 Listeners

JavaScript Jabber by Charles M Wood

JavaScript Jabber

62 Listeners

Syntax - Tasty Web Development Treats by Wes Bos & Scott Tolinski - Full Stack JavaScript Web Developers

Syntax - Tasty Web Development Treats

991 Listeners

REWORK by 37signals

REWORK

213 Listeners

Darknet Diaries by Jack Rhysider

Darknet Diaries

8,071 Listeners

Fiction - Comedy Fiction by The Sunset Explorers

Fiction - Comedy Fiction

6,447 Listeners

Notes On Work - by Caleb Porzio by Caleb Porzio

Notes On Work - by Caleb Porzio

18 Listeners

The Bootstrapped Founder by Arvid Kahl

The Bootstrapped Founder

35 Listeners

No Compromises by Joel Clermont and Aaron Saray

No Compromises

8 Listeners

Mostly Technical by Ian Landsman and Aaron Francis

Mostly Technical

27 Listeners

Talking Businessly by Daniel Coulbourne & John Drexler

Talking Businessly

2 Listeners

The Headlines by The New York Times

The Headlines

717 Listeners

Pluribus: The Official Podcast by Apple TV

Pluribus: The Official Podcast

472 Listeners