Change type to string to allow decimal values

This commit is contained in:
2021-09-05 17:38:56 +02:00
parent b2675d7c30
commit 2c4062fb76

View File

@@ -16,7 +16,7 @@ class CreateBeersTable extends Migration
Schema::create('beers', function (Blueprint $table) { Schema::create('beers', function (Blueprint $table) {
$table->id(); $table->id();
$table->string('beer'); $table->string('beer');
$table->integer('rating'); $table->string('rating');
$table->string('country'); $table->string('country');
$table->string('type'); $table->string('type');
$table->string('review')->nullable(); $table->string('review')->nullable();