Fixed washing machine reservation, creation, edit and deletion
This commit is contained in:
@@ -17,6 +17,8 @@ class CreateWashingReservations extends Migration
|
||||
$table->id();
|
||||
$table->timestamp("time");
|
||||
$table->timestamps();
|
||||
$table->unsignedBigInteger('machine');
|
||||
$table->foreign("machine")->references('id')->on('washing_machines');
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user