<?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 $GocOS) { $GocOS->increments('id'); $GocOS->timestamps(); $GocOS->integer('memberUserId')->nullable()->comment('用户ID'); $GocOS->tinyInteger('status')->nullable()->comment('状态'); $GocOS->decimal('money', 20, 2)->nullable()->comment('金额'); $GocOS->decimal('moneyAfterTax', 20, 2)->nullable()->comment('实际到账'); $GocOS->string('remark', 100)->nullable()->comment('备注'); $GocOS->tinyInteger('type')->nullable()->comment('提现账号类型'); $GocOS->string('realname', 50)->nullable()->comment('提现账号姓名'); $GocOS->string('account', 200)->nullable()->comment('提现账号'); $GocOS->index(array('memberUserId')); }); } public function down() { } }