{"type":"rich","version":"1.0","provider_name":"Transistor","provider_url":"https://transistor.fm","author_name":"The Laravel Podcast","title":"Migrations, Factories, and Seeding, with John Bonaccorsi","html":"<iframe width=\"100%\" height=\"180\" frameborder=\"no\" scrolling=\"no\" seamless src=\"https://share.transistor.fm/e/494954ed\"></iframe>","width":"100%","height":180,"duration":3887,"description":"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.\nJohn on Twitter (https://twitter.com/imjohnbon)\nLaravel Docs on Migration (https://laravel.com/docs/7.x/migrations)\nLaravel Docs on Factories (https://laravel.com/docs/7.x/packages#factories)\nLaravel Docs on Seeding (https://laravel.com/docs/7.x/seeding)\nTwenty Percent Time Podcast: Class Based Model Factories (https://twentypercenttime.simplecast.com/episodes/john-bonaccorsi-class-based-model-factories)\nLaracasts: Improve Test Arrangements with Factory Classes (https://laracasts.com/series/build-a-laravel-app-with-tdd/episodes/17)\nBlog Post on Class-Based model Factories (https://tighten.co/blog/tidy-up-your-tests-with-class-based-model-factories/)\nTighten on Twitter (https://twitter.com/tightenco)\nTighten's Blog (https://tighten.co/blog/)\nFantasy BB (https://fantasybb.com/)\nAvatar: The Last Airbender (https://en.wikipedia.org/wiki/Avatar:_The_Last_Airbender)\nLaravel 8 Model Factory Classes (https://laravel.com/docs/8.x/releases#laravel-8)\n \n-----\nEditing sponsored by Tighten; transcript sponsored by Larajobs.","thumbnail_url":"https://img.transistorcdn.com/5dQWP0DBRYD-uF0rygq1T2tdClcAOey3vkGAMrkH2AI/rs:fill:0:0:1/w:400/h:400/q:60/mb:500000/aHR0cHM6Ly9pbWct/dXBsb2FkLXByb2R1/Y3Rpb24udHJhbnNp/c3Rvci5mbS9zaG93/LzQ0ODU5LzE2OTQ2/MzkyODAtYXJ0d29y/ay5qcGc.webp","thumbnail_width":300,"thumbnail_height":300}