修改砍价优惠迁移文件
parent
2deccdff14
commit
5e10ba236f
|
|
@ -15,7 +15,7 @@ class AddBargainToOrdersTable extends Migration
|
|||
{
|
||||
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');
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue