diff --git a/migrations/2020_03_27_000001_create_energies_table.php b/migrations/2020_03_27_000001_create_energies_table.php index 58d534f..14e7c38 100644 --- a/migrations/2020_03_27_000001_create_energies_table.php +++ b/migrations/2020_03_27_000001_create_energies_table.php @@ -16,7 +16,7 @@ public function up() Schema::create('energies', function (Blueprint $table) { $table->bigIncrements('id'); $table->morphs('energisable'); - $table->float('amount', 8, 1); + $table->float('amount', 8, 2); $table->timestamps(); }); }