6
0
Fork 0

修改砍价优惠迁移文件

release
vine_liutk 2022-04-08 16:41:01 +08:00
parent 2deccdff14
commit 5e10ba236f
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ class AddBargainToOrdersTable extends Migration
{ {
Schema::table('orders', function (Blueprint $table) { Schema::table('orders', function (Blueprint $table) {
// //
$table->unsignedBigInteger('bargain_amount')->default(0)->comment('砍价金额'); $table->unsignedBigInteger('bargain_amount')->nullable()->default(0)->comment('砍价金额');
// $table->unsignedBigInteger('bargain_order_id')->nullable()->comment('关联砍价单ID'); // $table->unsignedBigInteger('bargain_order_id')->nullable()->comment('关联砍价单ID');
}); });
} }