[{"data":1,"prerenderedAt":1060},["ShallowReactive",2],{"navigation":3,"\u002Fguides\u002Fseeders":193,"\u002Fguides\u002Fseeders-surround":1055},[4,27,49,99,149,169,183],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":26},"Getting Started","i-lucide-rocket","\u002Fgetting-started","1.getting-started",[10,14,18,22],{"title":11,"path":12,"stem":13},"Introduction","\u002Fgetting-started\u002Fintroduction","1.getting-started\u002F1.introduction",{"title":15,"path":16,"stem":17},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F2.installation",{"title":19,"path":20,"stem":21},"Quick Start","\u002Fgetting-started\u002Fquick-start","1.getting-started\u002F3.quick-start",{"title":23,"path":24,"stem":25},"Existing Application","\u002Fgetting-started\u002Fexisting-application","1.getting-started\u002F4.existing-application",false,{"title":28,"icon":29,"path":30,"stem":31,"children":32,"page":26},"Concepts","i-lucide-layers","\u002Fconcepts","2.concepts",[33,37,41,45],{"title":34,"path":35,"stem":36},"Layers","\u002Fconcepts\u002Flayers","2.concepts\u002F1.layers",{"title":38,"path":39,"stem":40},"Buckets","\u002Fconcepts\u002Fbuckets","2.concepts\u002F2.buckets",{"title":42,"path":43,"stem":44},"Boundaries","\u002Fconcepts\u002Fboundaries","2.concepts\u002F3.boundaries",{"title":46,"path":47,"stem":48},"Service Providers","\u002Fconcepts\u002Fservice-providers","2.concepts\u002F4.service-providers",{"title":50,"icon":51,"path":52,"stem":53,"children":54,"page":26},"Guides","i-lucide-book-marked","\u002Fguides","3.guides",[55,59,63,67,71,75,79,83,87,91,95],{"title":56,"path":57,"stem":58},"Add a Domain","\u002Fguides\u002Fadd-a-domain","3.guides\u002F01.add-a-domain",{"title":60,"path":61,"stem":62},"Share Code Between Layers","\u002Fguides\u002Fshare-code-between-layers","3.guides\u002F02.share-code-between-layers",{"title":64,"path":65,"stem":66},"Routes","\u002Fguides\u002Froutes","3.guides\u002F03.routes",{"title":68,"path":69,"stem":70},"Views and Components","\u002Fguides\u002Fviews-and-components","3.guides\u002F04.views-and-components",{"title":72,"path":73,"stem":74},"Seeders","\u002Fguides\u002Fseeders","3.guides\u002F05.seeders",{"title":76,"path":77,"stem":78},"Configuration","\u002Fguides\u002Fconfiguration","3.guides\u002F06.configuration",{"title":80,"path":81,"stem":82},"Events","\u002Fguides\u002Fevents","3.guides\u002F07.events",{"title":84,"path":85,"stem":86},"Tests and CI","\u002Fguides\u002Ftesting-and-ci","3.guides\u002F08.testing-and-ci",{"title":88,"path":89,"stem":90},"Production","\u002Fguides\u002Fproduction","3.guides\u002F09.production",{"title":92,"path":93,"stem":94},"Remove a Layer","\u002Fguides\u002Fremoving-a-layer","3.guides\u002F10.removing-a-layer",{"title":96,"path":97,"stem":98},"Multi-tenancy","\u002Fguides\u002Fmulti-tenancy","3.guides\u002F11.multi-tenancy",{"title":100,"icon":101,"path":102,"stem":103,"children":104,"page":26},"Commands","i-lucide-terminal","\u002Fcommands","4.commands",[105,109,113,117,121,125,129,133,137,141,145],{"title":106,"path":107,"stem":108},"Overview","\u002Fcommands\u002Foverview","4.commands\u002F01.overview",{"title":110,"path":111,"stem":112},"osdd:start","\u002Fcommands\u002Fosdd-start","4.commands\u002F02.osdd-start",{"title":114,"path":115,"stem":116},"osdd:layer","\u002Fcommands\u002Fosdd-layer","4.commands\u002F03.osdd-layer",{"title":118,"path":119,"stem":120},"osdd:list","\u002Fcommands\u002Fosdd-list","4.commands\u002F04.osdd-list",{"title":122,"path":123,"stem":124},"osdd:check","\u002Fcommands\u002Fosdd-check","4.commands\u002F05.osdd-check",{"title":126,"path":127,"stem":128},"osdd:graph","\u002Fcommands\u002Fosdd-graph","4.commands\u002F06.osdd-graph",{"title":130,"path":131,"stem":132},"osdd:seed","\u002Fcommands\u002Fosdd-seed","4.commands\u002F07.osdd-seed",{"title":134,"path":135,"stem":136},"osdd:phpunit","\u002Fcommands\u002Fosdd-phpunit","4.commands\u002F08.osdd-phpunit",{"title":138,"path":139,"stem":140},"osdd:remove","\u002Fcommands\u002Fosdd-remove","4.commands\u002F09.osdd-remove",{"title":142,"path":143,"stem":144},"osdd:cache","\u002Fcommands\u002Fosdd-cache","4.commands\u002F10.osdd-cache",{"title":146,"path":147,"stem":148},"Generators","\u002Fcommands\u002Fmake-commands","4.commands\u002F11.make-commands",{"title":150,"icon":151,"path":152,"stem":153,"children":154,"page":26},"API Reference","i-lucide-book-open","\u002Fapi-reference","5.api-reference",[155,159,162,166],{"title":156,"path":157,"stem":158},"LayerServiceProvider","\u002Fapi-reference\u002Flayer-service-provider","5.api-reference\u002F1.layer-service-provider",{"title":34,"path":160,"stem":161},"\u002Fapi-reference\u002Flayers","5.api-reference\u002F2.layers",{"title":163,"path":164,"stem":165},"SeederRegistry","\u002Fapi-reference\u002Fseeder-registry","5.api-reference\u002F3.seeder-registry",{"title":76,"path":167,"stem":168},"\u002Fapi-reference\u002Fconfiguration","5.api-reference\u002F4.configuration",{"title":170,"icon":171,"path":172,"stem":173,"children":174,"page":26},"Integrations","i-lucide-puzzle","\u002Fintegrations","6.integrations",[175,179],{"title":176,"path":177,"stem":178},"Laravel Boost","\u002Fintegrations\u002Flaravel-boost","6.integrations\u002F1.laravel-boost",{"title":180,"path":181,"stem":182},"Tinker and IDE Helper","\u002Fintegrations\u002Ftinker-and-ide-helper","6.integrations\u002F2.tinker-and-ide-helper",{"title":184,"icon":185,"path":186,"stem":187,"children":188,"page":26},"Upgrade","i-lucide-arrow-up-circle","\u002Fupgrade","7.upgrade",[189],{"title":190,"path":191,"stem":192},"Upgrade from 2.x","\u002Fupgrade\u002Ffrom-2x","7.upgrade\u002F1.from-2x",{"id":194,"title":72,"body":195,"description":1048,"extension":1049,"links":1050,"meta":1051,"navigation":301,"path":73,"seo":1052,"sitemap":1053,"stem":74,"__hash__":1054},"docs\u002F3.guides\u002F05.seeders.md",{"type":196,"value":197,"toc":1041},"minimark",[198,215,220,223,381,391,395,402,509,527,531,560,727,731,736,787,923,934,962,980,984,1029,1037],[199,200,201,202,206,207,214],"p",{},"An OSDD project has no central ",[203,204,205],"code",{},"DatabaseSeeder"," to edit: each layer registers its own seeders in its provider, and ",[208,209,211],"a",{"href":210},"\u002Fapi-reference\u002Fseeder-registry#layersseeder",[203,212,213],{},"LayersSeeder"," runs them all. Adding a layer never touches a shared file.",[216,217,219],"h2",{"id":218},"register-a-seeder","Register a seeder",[199,221,222],{},"A layer registers its seeders in its service provider:",[224,225,231],"pre",{"className":226,"code":227,"filename":228,"language":229,"meta":230,"style":230},"language-php shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","use Functional\\Orders\\Database\\Seeders\\OrdersSeeder;\nuse Functional\\Orders\\Database\\Seeders\\OrderStatusesSeeder;\n\npublic function boot(): void\n{\n    $this->loadSeeders([\n        OrderStatusesSeeder::class,\n        OrdersSeeder::class,\n    ]);\n}\n","functional\u002Forders\u002Fsrc\u002FProviders\u002FOrdersServiceProvider.php","php","",[203,232,233,270,296,303,323,329,341,357,369,375],{"__ignoreMap":230},[234,235,238,242,246,250,253,255,258,260,262,264,267],"span",{"class":236,"line":237},"line",1,[234,239,241],{"class":240},"sbssI","use",[234,243,245],{"class":244},"sTEyZ"," Functional",[234,247,249],{"class":248},"sMK4o","\\",[234,251,252],{"class":244},"Orders",[234,254,249],{"class":248},[234,256,257],{"class":244},"Database",[234,259,249],{"class":248},[234,261,72],{"class":244},[234,263,249],{"class":248},[234,265,266],{"class":244},"OrdersSeeder",[234,268,269],{"class":248},";\n",[234,271,273,275,277,279,281,283,285,287,289,291,294],{"class":236,"line":272},2,[234,274,241],{"class":240},[234,276,245],{"class":244},[234,278,249],{"class":248},[234,280,252],{"class":244},[234,282,249],{"class":248},[234,284,257],{"class":244},[234,286,249],{"class":248},[234,288,72],{"class":244},[234,290,249],{"class":248},[234,292,293],{"class":244},"OrderStatusesSeeder",[234,295,269],{"class":248},[234,297,299],{"class":236,"line":298},3,[234,300,302],{"emptyLinePlaceholder":301},true,"\n",[234,304,306,310,313,317,320],{"class":236,"line":305},4,[234,307,309],{"class":308},"spNyl","public",[234,311,312],{"class":308}," function",[234,314,316],{"class":315},"s2Zo4"," boot",[234,318,319],{"class":248},"():",[234,321,322],{"class":240}," void\n",[234,324,326],{"class":236,"line":325},5,[234,327,328],{"class":248},"{\n",[234,330,332,335,338],{"class":236,"line":331},6,[234,333,334],{"class":248},"    $this->",[234,336,337],{"class":315},"loadSeeders",[234,339,340],{"class":248},"([\n",[234,342,344,348,351,354],{"class":236,"line":343},7,[234,345,347],{"class":346},"sBMFI","        OrderStatusesSeeder",[234,349,350],{"class":248},"::",[234,352,353],{"class":240},"class",[234,355,356],{"class":248},",\n",[234,358,360,363,365,367],{"class":236,"line":359},8,[234,361,362],{"class":346},"        OrdersSeeder",[234,364,350],{"class":248},[234,366,353],{"class":240},[234,368,356],{"class":248},[234,370,372],{"class":236,"line":371},9,[234,373,374],{"class":248},"    ]);\n",[234,376,378],{"class":236,"line":377},10,[234,379,380],{"class":248},"}\n",[199,382,383,386,387,390],{},[203,384,385],{},"osdd:seeder OrdersSeeder --layer=functional\u002Forders"," creates the seeder and adds the ",[203,388,389],{},"loadSeeders()"," call for you. A seeder you write by hand needs the call too.",[216,392,394],{"id":393},"order-seeders-across-layers","Order seeders across layers",[199,396,397,398,401],{},"Seeders run by ascending priority, ",[203,399,400],{},"0"," by default. Seeders with the same priority run in registration order. A seeder registered twice runs once, at its first priority.",[224,403,405],{"className":226,"code":404,"language":229,"meta":230,"style":230},"\u002F\u002F Reference data first\n$this->loadSeeders([RolesSeeder::class], priority: -10);\n\n\u002F\u002F Default priority\n$this->loadSeeders([OrdersSeeder::class]);\n\n\u002F\u002F Needs the orders\n$this->loadSeeders([InvoicesSeeder::class], priority: 10);\n",[203,406,407,413,448,452,457,474,478,483],{"__ignoreMap":230},[234,408,409],{"class":236,"line":237},[234,410,412],{"class":411},"sHwdD","\u002F\u002F Reference data first\n",[234,414,415,418,420,423,426,428,430,433,436,439,442,445],{"class":236,"line":272},[234,416,417],{"class":248},"$this->",[234,419,337],{"class":315},[234,421,422],{"class":248},"([",[234,424,425],{"class":346},"RolesSeeder",[234,427,350],{"class":248},[234,429,353],{"class":240},[234,431,432],{"class":248},"],",[234,434,435],{"class":346}," priority",[234,437,438],{"class":248},":",[234,440,441],{"class":248}," -",[234,443,444],{"class":240},"10",[234,446,447],{"class":248},");\n",[234,449,450],{"class":236,"line":298},[234,451,302],{"emptyLinePlaceholder":301},[234,453,454],{"class":236,"line":305},[234,455,456],{"class":411},"\u002F\u002F Default priority\n",[234,458,459,461,463,465,467,469,471],{"class":236,"line":325},[234,460,417],{"class":248},[234,462,337],{"class":315},[234,464,422],{"class":248},[234,466,266],{"class":346},[234,468,350],{"class":248},[234,470,353],{"class":240},[234,472,473],{"class":248},"]);\n",[234,475,476],{"class":236,"line":331},[234,477,302],{"emptyLinePlaceholder":301},[234,479,480],{"class":236,"line":343},[234,481,482],{"class":411},"\u002F\u002F Needs the orders\n",[234,484,485,487,489,491,494,496,498,500,502,504,507],{"class":236,"line":359},[234,486,417],{"class":248},[234,488,337],{"class":315},[234,490,422],{"class":248},[234,492,493],{"class":346},"InvoicesSeeder",[234,495,350],{"class":248},[234,497,353],{"class":240},[234,499,432],{"class":248},[234,501,435],{"class":346},[234,503,438],{"class":248},[234,505,506],{"class":240}," 10",[234,508,447],{"class":248},[199,510,511,512,515,516,519,520,523,524,526],{},"Use priorities across layers: the ",[203,513,514],{},"users"," layer seeds roles at ",[203,517,518],{},"-10",", the ",[203,521,522],{},"billing"," layer seeds invoices at ",[203,525,444],{},", whatever the order Laravel boots their providers in.",[216,528,530],{"id":529},"how-it-works","How it works",[199,532,533,535,536,540,541,543,544,547,548,551,552,540,555,559],{},[203,534,389],{}," pushes the classes into the ",[208,537,538],{"href":164},[203,539,163],{},". ",[203,542,130],{}," runs ",[203,545,546],{},"db:seed --class=\"Lomkit\\Osdd\\Seeders\\LayersSeeder\""," once, after ",[203,549,550],{},"--fresh"," or ",[203,553,554],{},"--refresh",[208,556,557],{"href":210},[203,558,213],{}," reads the registry and calls each seeder.",[224,561,564],{"className":226,"code":562,"filename":563,"language":229,"meta":230,"style":230},"\u003C?php\n\nnamespace Functional\\Orders\\Database\\Seeders;\n\nuse Functional\\Orders\\Models\\Order;\nuse Illuminate\\Database\\Seeder;\n\nclass OrdersSeeder extends Seeder\n{\n    public function run(): void\n    {\n        Order::factory()->count(50)->create();\n    }\n}\n","functional\u002Forders\u002Fdatabase\u002Fseeders\u002FOrdersSeeder.php",[203,565,566,574,578,599,603,625,643,647,660,664,678,684,716,722],{"__ignoreMap":230},[234,567,568,571],{"class":236,"line":237},[234,569,570],{"class":248},"\u003C?",[234,572,573],{"class":244},"php\n",[234,575,576],{"class":236,"line":272},[234,577,302],{"emptyLinePlaceholder":301},[234,579,580,583,585,587,589,591,593,595,597],{"class":236,"line":298},[234,581,582],{"class":240},"namespace",[234,584,245],{"class":346},[234,586,249],{"class":248},[234,588,252],{"class":346},[234,590,249],{"class":248},[234,592,257],{"class":346},[234,594,249],{"class":248},[234,596,72],{"class":346},[234,598,269],{"class":248},[234,600,601],{"class":236,"line":305},[234,602,302],{"emptyLinePlaceholder":301},[234,604,605,607,609,611,613,615,618,620,623],{"class":236,"line":325},[234,606,241],{"class":240},[234,608,245],{"class":244},[234,610,249],{"class":248},[234,612,252],{"class":244},[234,614,249],{"class":248},[234,616,617],{"class":244},"Models",[234,619,249],{"class":248},[234,621,622],{"class":244},"Order",[234,624,269],{"class":248},[234,626,627,629,632,634,636,638,641],{"class":236,"line":331},[234,628,241],{"class":240},[234,630,631],{"class":244}," Illuminate",[234,633,249],{"class":248},[234,635,257],{"class":244},[234,637,249],{"class":248},[234,639,640],{"class":244},"Seeder",[234,642,269],{"class":248},[234,644,645],{"class":236,"line":343},[234,646,302],{"emptyLinePlaceholder":301},[234,648,649,651,654,657],{"class":236,"line":359},[234,650,353],{"class":308},[234,652,653],{"class":346}," OrdersSeeder",[234,655,656],{"class":308}," extends",[234,658,659],{"class":346}," Seeder\n",[234,661,662],{"class":236,"line":371},[234,663,328],{"class":248},[234,665,666,669,671,674,676],{"class":236,"line":377},[234,667,668],{"class":308},"    public",[234,670,312],{"class":308},[234,672,673],{"class":315}," run",[234,675,319],{"class":248},[234,677,322],{"class":240},[234,679,681],{"class":236,"line":680},11,[234,682,683],{"class":248},"    {\n",[234,685,687,690,692,695,698,701,704,707,710,713],{"class":236,"line":686},12,[234,688,689],{"class":346},"        Order",[234,691,350],{"class":248},[234,693,694],{"class":315},"factory",[234,696,697],{"class":248},"()->",[234,699,700],{"class":315},"count",[234,702,703],{"class":248},"(",[234,705,706],{"class":240},"50",[234,708,709],{"class":248},")->",[234,711,712],{"class":315},"create",[234,714,715],{"class":248},"();\n",[234,717,719],{"class":236,"line":718},13,[234,720,721],{"class":248},"    }\n",[234,723,725],{"class":236,"line":724},14,[234,726,380],{"class":248},[216,728,730],{"id":729},"seed-with-laravels-commands-and-in-tests","Seed with Laravel's commands and in tests",[199,732,733,735],{},[203,734,213],{}," also works with Laravel's own seeding:",[224,737,741],{"className":738,"code":739,"language":740,"meta":230,"style":230},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","php artisan db:seed --class=\"Lomkit\\Osdd\\Seeders\\LayersSeeder\"\nphp artisan migrate:fresh --seed --seeder=\"Lomkit\\Osdd\\Seeders\\LayersSeeder\"\n","bash",[203,742,743,766],{"__ignoreMap":230},[234,744,745,747,751,754,757,760,763],{"class":236,"line":237},[234,746,229],{"class":346},[234,748,750],{"class":749},"sfazB"," artisan",[234,752,753],{"class":749}," db:seed",[234,755,756],{"class":749}," --class=",[234,758,759],{"class":248},"\"",[234,761,762],{"class":749},"Lomkit\\Osdd\\Seeders\\LayersSeeder",[234,764,765],{"class":248},"\"\n",[234,767,768,770,772,775,778,781,783,785],{"class":236,"line":272},[234,769,229],{"class":346},[234,771,750],{"class":749},[234,773,774],{"class":749}," migrate:fresh",[234,776,777],{"class":749}," --seed",[234,779,780],{"class":749}," --seeder=",[234,782,759],{"class":248},[234,784,762],{"class":749},[234,786,765],{"class":248},[224,788,791],{"className":226,"code":789,"filename":790,"language":229,"meta":230,"style":230},"use Illuminate\\Foundation\\Testing\\RefreshDatabase;\nuse Lomkit\\Osdd\\Seeders\\LayersSeeder;\n\nclass PlaceOrderTest extends TestCase\n{\n    use RefreshDatabase;\n\n    protected bool $seed = true;\n\n    protected string $seeder = LayersSeeder::class;\n}\n","functional\u002Forders\u002Ftests\u002FFeature\u002FPlaceOrderTest.php",[203,792,793,816,838,842,854,858,868,872,892,896,919],{"__ignoreMap":230},[234,794,795,797,799,801,804,806,809,811,814],{"class":236,"line":237},[234,796,241],{"class":240},[234,798,631],{"class":244},[234,800,249],{"class":248},[234,802,803],{"class":244},"Foundation",[234,805,249],{"class":248},[234,807,808],{"class":244},"Testing",[234,810,249],{"class":248},[234,812,813],{"class":244},"RefreshDatabase",[234,815,269],{"class":248},[234,817,818,820,823,825,828,830,832,834,836],{"class":236,"line":272},[234,819,241],{"class":240},[234,821,822],{"class":244}," Lomkit",[234,824,249],{"class":248},[234,826,827],{"class":244},"Osdd",[234,829,249],{"class":248},[234,831,72],{"class":244},[234,833,249],{"class":248},[234,835,213],{"class":244},[234,837,269],{"class":248},[234,839,840],{"class":236,"line":298},[234,841,302],{"emptyLinePlaceholder":301},[234,843,844,846,849,851],{"class":236,"line":305},[234,845,353],{"class":308},[234,847,848],{"class":346}," PlaceOrderTest",[234,850,656],{"class":308},[234,852,853],{"class":346}," TestCase\n",[234,855,856],{"class":236,"line":325},[234,857,328],{"class":248},[234,859,860,863,866],{"class":236,"line":331},[234,861,862],{"class":240},"    use",[234,864,865],{"class":244}," RefreshDatabase",[234,867,269],{"class":248},[234,869,870],{"class":236,"line":343},[234,871,302],{"emptyLinePlaceholder":301},[234,873,874,877,880,883,886,889],{"class":236,"line":359},[234,875,876],{"class":308},"    protected",[234,878,879],{"class":240}," bool",[234,881,882],{"class":248}," $",[234,884,885],{"class":244},"seed ",[234,887,888],{"class":248},"=",[234,890,891],{"class":248}," true;\n",[234,893,894],{"class":236,"line":371},[234,895,302],{"emptyLinePlaceholder":301},[234,897,898,900,903,905,908,910,913,915,917],{"class":236,"line":377},[234,899,876],{"class":308},[234,901,902],{"class":240}," string",[234,904,882],{"class":248},[234,906,907],{"class":244},"seeder ",[234,909,888],{"class":248},[234,911,912],{"class":346}," LayersSeeder",[234,914,350],{"class":248},[234,916,353],{"class":240},[234,918,269],{"class":248},[234,920,921],{"class":236,"line":680},[234,922,380],{"class":248},[199,924,925,926,929,930,933],{},"Pass the full class name: Laravel prefixes a name without a backslash with ",[203,927,928],{},"Database\\Seeders\\",", so ",[203,931,932],{},"--seeder=LayersSeeder"," is not found.",[199,935,936,937,941,942,944,945,941,948,941,951,954,955,957,958,961],{},"After ",[208,938,939],{"href":111},[203,940,110],{},", ",[203,943,213],{}," is the default seeder, so ",[203,946,947],{},"php artisan db:seed",[203,949,950],{},"migrate --seed",[203,952,953],{},"migrate:fresh --seed"," and ",[203,956,813],{}," with only ",[203,959,960],{},"$seed = true"," run the layer seeders without naming it.",[963,964,965],"note",{},[199,966,967,968,971,972,974,975,979],{},"A real ",[203,969,970],{},"Database\\Seeders\\DatabaseSeeder"," class, if you write one, takes precedence over the binding: call ",[203,973,213],{}," from it, as in an ",[208,976,978],{"href":977},"\u002Fgetting-started\u002Fexisting-application#_4-seed-and-test-the-layers","existing application",".",[216,981,983],{"id":982},"run-them","Run them",[224,985,987],{"className":738,"code":986,"language":740,"meta":230,"style":230},"php artisan osdd:seed                          # every layer\nphp artisan osdd:seed --layer=functional\u002Forders  # some layers\nphp artisan osdd:seed --fresh                  # migrate:fresh first\n",[203,988,989,1001,1015],{"__ignoreMap":230},[234,990,991,993,995,998],{"class":236,"line":237},[234,992,229],{"class":346},[234,994,750],{"class":749},[234,996,997],{"class":749}," osdd:seed",[234,999,1000],{"class":411},"                          # every layer\n",[234,1002,1003,1005,1007,1009,1012],{"class":236,"line":272},[234,1004,229],{"class":346},[234,1006,750],{"class":749},[234,1008,997],{"class":749},[234,1010,1011],{"class":749}," --layer=functional\u002Forders",[234,1013,1014],{"class":411},"  # some layers\n",[234,1016,1017,1019,1021,1023,1026],{"class":236,"line":298},[234,1018,229],{"class":346},[234,1020,750],{"class":749},[234,1022,997],{"class":749},[234,1024,1025],{"class":749}," --fresh",[234,1027,1028],{"class":411},"                  # migrate:fresh first\n",[199,1030,1031,1032,1036],{},"See ",[208,1033,1034],{"href":131},[203,1035,130],{}," for every option and the exit codes.",[1038,1039,1040],"style",{},"html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}",{"title":230,"searchDepth":237,"depth":272,"links":1042},[1043,1044,1045,1046,1047],{"id":218,"depth":272,"text":219},{"id":393,"depth":272,"text":394},{"id":529,"depth":272,"text":530},{"id":729,"depth":272,"text":730},{"id":982,"depth":272,"text":983},"Give each layer its own seeders, order them across layers, and run them from osdd:seed, db:seed or your tests.","md",null,{},{"title":72,"description":1048},{"loc":73},"K4YQdNBQtUhMUgSnAKDrAGViPbyapurKk2vQkl9uELM",[1056,1058],{"title":68,"path":69,"stem":70,"description":1057,"children":-1},"Render Blade views, translations and components from a layer, under the layer name.",{"title":76,"path":77,"stem":78,"description":1059,"children":-1},"Give a layer its own config file, and override the config of Laravel or any package from a layer.",1794437209293]