mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
update to 3.7.1 version mysql error #1672
This commit is contained in:
parent
3d1f542a25
commit
ac7f8df10b
@ -14,12 +14,12 @@ class IncreasePrecision extends Migration
|
|||||||
{
|
{
|
||||||
Schema::table('products', function ($table) {
|
Schema::table('products', function ($table) {
|
||||||
$table->decimal('cost', 15, 4)->change();
|
$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) {
|
Schema::table('invoice_items', function ($table) {
|
||||||
$table->decimal('cost', 15, 4)->change();
|
$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) {
|
Schema::table('clients', function ($table) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user