dados do seeder
tests / ci (push) Waiting to run

This commit is contained in:
2026-09-30 13:47:51 +02:00
parent 3395424d82
commit 5e6b32b493
7 changed files with 15592 additions and 3 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ class SectorSeeder extends Seeder
];
foreach ($sectors as $index => $sector) {
Sector::updateOrCreate(
Sector::firstOrCreate(
['slug' => $sector['slug']],
[...$sector, 'is_active' => true, 'sort_order' => $index + 1, 'published_at' => now()]
);