fixed filament.blade.php
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user