update to 3.7.1 version mysql error #1672
This commit is contained in:
parent
3d1f542a25
commit
ac7f8df10b
1 changed files with 2 additions and 2 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue