Updated Buildplate Forms
This commit is contained in:
@@ -17,6 +17,7 @@ return new class extends Migration
|
||||
$table->string('description');
|
||||
$table->foreignId('manufacturer_id')->constrained();
|
||||
$table->string('temp_max');
|
||||
$table->string('amount');
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
@@ -15,8 +15,8 @@ class BuildplateSeeder extends Seeder
|
||||
{
|
||||
// Create Predefined Filament Types
|
||||
$buildplates = [
|
||||
['name' => 'Supertrack', 'description' => 'Standard filament type.', 'manufacturer_id' => 1, 'temp_max' => 230],
|
||||
['name' => 'Smooth PEI', 'description' => 'Premium filament type.', 'manufacturer_id' => 1, 'temp_max' => 230],
|
||||
['name' => 'Supertrack', 'description' => 'Standard filament type.', 'manufacturer_id' => 1, 'temp_max' => 230, 'amount' => 1],
|
||||
['name' => 'Smooth PEI', 'description' => 'Premium filament type.', 'manufacturer_id' => 1, 'temp_max' => 230, 'amount' => 1],
|
||||
];
|
||||
|
||||
foreach ($buildplates as $buildplate) {
|
||||
|
||||
Reference in New Issue
Block a user