<?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 $hTN3M) { $hTN3M->increments('id'); $hTN3M->timestamps(); $hTN3M->integer('memberUserId')->nullable()->comment('排序'); $hTN3M->integer('vipId')->nullable()->comment(''); $hTN3M->decimal('payFee', 20, 2)->nullable()->comment(''); $hTN3M->tinyInteger('status')->nullable()->comment('默认'); $hTN3M->date('expire')->nullable()->comment(''); $hTN3M->string('type', 20)->nullable()->comment(''); }); } public function down() { } }