<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateMemberVipOrder extends Migration { public function up() { Schema::create('member_vip_order', function (Blueprint $onV5E) { $onV5E->increments('id'); $onV5E->timestamps(); $onV5E->integer('memberUserId')->nullable()->comment('排序'); $onV5E->integer('vipId')->nullable()->comment(''); $onV5E->decimal('payFee', 20, 2)->nullable()->comment(''); $onV5E->tinyInteger('status')->nullable()->comment('默认'); $onV5E->date('expire')->nullable()->comment(''); $onV5E->string('type', 20)->nullable()->comment(''); }); } public function down() { } }