Added rest of files

This commit is contained in:
Shaun Collins
2026-03-04 16:35:15 +00:00
committed by shaun collins
parent 646041230b
commit 09c4bd02ff
160 changed files with 19001 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
<?php
namespace Database\Seeders;
use App\Models\Blog;
use Illuminate\Database\Seeder;
use Illuminate\Support\Collection;
class BlogSeed extends Seeder
{
public function run(): void
{
$this->records()->each(function ($record) {
echo 'Processing: '.$record['slug'].PHP_EOL;
Blog::updateOrCreate([
'slug' => $record['slug'],
], $record);
});
}
private function records(): Collection
{
return collect([
]);
}
}