Файловый менеджер - Редактировать - /home/clickysoft/public_html/jmapi5.clickysoft.net/database/migrations/2023_12_04_155011_alter_orders_table.php
Назад
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; return new class extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::table('orders', function (Blueprint $table) { $table->unsignedBigInteger('coupon_id')->nullable()->after('pickup_location_id'); $table->string('discount_type')->nullable()->after('resale_number'); $table->decimal('discount_value')->nullable()->after('discount_type'); $table->decimal('discount_total')->nullable()->after('discount_value') ->comment('The amount that will deducted from order total as discount'); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::table('orders', function (Blueprint $table) { // }); } };
| ver. 1.4 |
Github
|
.
| PHP 8.1.29 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка