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