create table

This commit is contained in:
邓皓元 2019-01-29 18:08:07 +08:00
parent 2a6888bb31
commit 657bcd83da

View File

@ -31,10 +31,11 @@ class CreateVirtualOrderCardsTables extends Migration
$table->integer('package_id')->unsigned()->default(0)->comment('套餐ID');
$table->integer('counts')->unsigned()->default(0)->comment('数量');
$table->timestamps();
$table->softDeletes();
$table->unique(['sim', 'order_id', 'deleted_at']);
$table->comment("RD续费及增值包订单关联卡");
$table->comment("VD卡关联套餐订单");
$table->partition('type', 'list');