updated migrations with foreign relations
This commit is contained in:
@@ -15,7 +15,7 @@ return new class extends Migration
|
||||
$table->id();
|
||||
$table->string('name');
|
||||
$table->string('description')->nullable();
|
||||
$table->string('manufacturer_id')->required();
|
||||
$table->foreignId('manufacturer_id')->constrained();
|
||||
$table->string('diameter')->required();
|
||||
$table->string('temp_max')->required();
|
||||
$table->timestamps();
|
||||
|
||||
Reference in New Issue
Block a user