fixed filament.blade.php

This commit is contained in:
2025-04-22 19:25:54 +02:00
parent cf81ce810b
commit 1f10d68542
5 changed files with 69 additions and 20 deletions
+26
View File
@@ -0,0 +1,26 @@
<?php
namespace Database\Seeders;
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;
use App\Models\FilamentType as Type;
class FilamentTypeSeeder extends Seeder
{
/**
* Run the database seeds.
*/
public function run(): void
{
// Create Predefined Filament Types
$filamentTypes = [
['name' => 'PLA', 'description' => 'Standard filament type.'],
['name' => 'PETG', 'description' => 'Premium filament type.'],
];
foreach ($filamentTypes as $filamentType) {
Type::create($filamentType);
}
}
}