Merge migration fix

This commit is contained in:
Hillel Coren 2018-02-07 12:54:48 +02:00
parent 859265a946
commit d14d99a74d

View File

@ -14,12 +14,12 @@ class IncreasePrecision extends Migration
{
Schema::table('products', function ($table) {
$table->decimal('cost', 15, 4)->change();
$table->decimal('qty', 15, 4)->change();
$table->decimal('qty', 15, 4)->default(0)->change();
});
Schema::table('invoice_items', function ($table) {
$table->decimal('cost', 15, 4)->change();
$table->decimal('qty', 15, 4)->change();
$table->decimal('qty', 15, 4)->default(0)->change();
});
Schema::table('clients', function ($table) {