Fixed washing machine reservation, creation, edit and deletion

This commit is contained in:
frederikpyt
2020-07-01 11:38:09 +02:00
parent 432d9042fd
commit 9d757dc536
7 changed files with 66 additions and 49 deletions
@@ -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');
});
}