<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateMemberMoneyCash extends Migration { public function up() { Schema::create('member_money_cash', function (Blueprint $tM63P) { $tM63P->increments('id'); $tM63P->timestamps(); $tM63P->integer('memberUserId')->nullable()->comment('用户ID'); $tM63P->tinyInteger('status')->nullable()->comment('状态'); $tM63P->decimal('money', 20, 2)->nullable()->comment('金额'); $tM63P->decimal('moneyAfterTax', 20, 2)->nullable()->comment('实际到账'); $tM63P->string('remark', 100)->nullable()->comment('备注'); $tM63P->tinyInteger('type')->nullable()->comment('提现账号类型'); $tM63P->string('realname', 50)->nullable()->comment('提现账号姓名'); $tM63P->string('account', 200)->nullable()->comment('提现账号'); $tM63P->index(array('memberUserId')); }); } public function down() { } }