v.2.34
Обновлены округления Добавлены миграции
This commit is contained in:
@@ -25,6 +25,18 @@ class UpdateItemCountAndItemPriceInOrderItemsToFloatV2 extends Migration
|
||||
Schema::table('shift_online_deleted', function (Blueprint $table) {
|
||||
$table->decimal('count', $precision = 16, $scale = 3)->nullable()->change();
|
||||
});
|
||||
Schema::table('exchange_items', function (Blueprint $table) {
|
||||
$table->decimal('count', $precision = 16, $scale = 3)->nullable()->change();
|
||||
});
|
||||
Schema::table('exchange_items', function (Blueprint $table) {
|
||||
$table->decimal('count_return', $precision = 16, $scale = 3)->nullable()->change();
|
||||
});
|
||||
Schema::table('exchange_items', function (Blueprint $table) {
|
||||
$table->decimal('count_real', $precision = 16, $scale = 3)->nullable()->change();
|
||||
});
|
||||
Schema::table('exchange_deleted', function (Blueprint $table) {
|
||||
$table->decimal('count', $precision = 16, $scale = 3)->nullable()->change();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -46,5 +58,17 @@ class UpdateItemCountAndItemPriceInOrderItemsToFloatV2 extends Migration
|
||||
Schema::table('shift_online_deleted', function (Blueprint $table) {
|
||||
$table->decimal('count', $precision = 16, $scale = 2)->nullable()->change();
|
||||
});
|
||||
Schema::table('exchange_items', function (Blueprint $table) {
|
||||
$table->decimal('count', $precision = 16, $scale = 2)->nullable()->change();
|
||||
});
|
||||
Schema::table('exchange_items', function (Blueprint $table) {
|
||||
$table->decimal('count_return', $precision = 16, $scale = 2)->nullable()->change();
|
||||
});
|
||||
Schema::table('exchange_items', function (Blueprint $table) {
|
||||
$table->decimal('count_real', $precision = 16, $scale = 2)->nullable()->change();
|
||||
});
|
||||
Schema::table('exchange_deleted', function (Blueprint $table) {
|
||||
$table->decimal('count', $precision = 16, $scale = 2)->nullable()->change();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user