This commit is contained in:
SourceDoctor
2020-06-23 19:12:58 +02:00
parent a454189a57
commit 70c00d1b4a
@@ -14,7 +14,7 @@ class AlterAvailabilityPercColumn extends Migration
public function up()
{
Schema::table('availability', function (Blueprint $table) {
$table->float('availability_perc', 9, 6)->default(0.000000)->change();
$table->float('availability_perc', 9, 6)->default(0)->change();
});
}
/**
@@ -25,7 +25,7 @@ class AlterAvailabilityPercColumn extends Migration
public function down()
{
Schema::table('availability', function (Blueprint $table) {
$table->float('availability_perc', 6, 6)->default(0.000000)->change();
$table->float('availability_perc', 6, 6)->default(0)->change();
});
}
}