6
0
Fork 0

调整砍价迁移

release
vine_liutk 2022-04-06 11:54:15 +08:00
parent 5d563592ed
commit 3a8ac3123c
1 changed files with 4 additions and 1 deletions

View File

@ -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();
});