调整砍价迁移
parent
5d563592ed
commit
3a8ac3123c
|
|
@ -18,8 +18,11 @@ class CreateBargainOrdersTable extends Migration
|
|||
$table->unsignedBigInteger('activity_id')->comment('参与活动ID');
|
||||
$table->unsignedBigInteger('user_id')->comment('发起用户ID');
|
||||
$table->unsignedBigInteger('sku_id')->comment('砍价商品');
|
||||
$table->boolean('status')->default(false)->comment('状态:0未砍完,1已砍完');
|
||||
$table->unsignedBigInteger('sku_price')->default(0)->comment('原价:分');
|
||||
$table->unsignedBigInteger('bargain_price')->default(0)->comment('已砍价格:分');
|
||||
$table->boolean('status')->default(false)->comment('状态:0未开始,1已开始,2已完成');
|
||||
$table->timestamp('expire_at')->nullable()->comment('过期时间');
|
||||
$table->unsignedBigInteger('order_id')->nullable()->comment('下单支付ID');
|
||||
$table->string('remark')->nullable()->comment('备注');
|
||||
$table->timestamps();
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue