Pivot scaffolding and new views for adding beers

This commit is contained in:
2021-09-05 02:09:38 +02:00
parent 26dbfeb94a
commit f4c030934a
11 changed files with 124 additions and 13 deletions

View File

@@ -14,7 +14,7 @@ class CreateBeersTable extends Migration
public function up()
{
Schema::create('beers', function (Blueprint $table) {
$table->unsignedBigInteger('id');
$table->id();
$table->string('beer');
$table->integer('rating');
$table->string('country');