You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
	
	
		
		
			
	
    
		
			
				
					
						                                      | 
						 | 
						<?php
use Illuminate\Support\Facades\Schema;use Illuminate\Database\Schema\Blueprint;use Illuminate\Database\Migrations\Migration;
class CreateWithdrawalTable extends Migration{    /**     * Run the migrations.     *     * @return void     */    public function up()    {        Schema::create('withdrawal', function (Blueprint $table) {            $table->increments('id');            $table->integer('user_id')->index()->default(0)->comment('用户id');            $table->string('user_type')->default('')->comment('用户类型');            $table->decimal('price')->default(0)->comment('提现金额');            $table->string('pay_type')->default('')->comment('提现方式');            $table->integer('pay_id')->index()->default(0)->comment('提现id');            $table->tinyInteger('status')->default(1)->comment('状态 1·待审核 2 已拒绝 3 已通过 4 已打款');            $table->timestamps();            $table->softDeletes();        });    }
    /**     * Reverse the migrations.     *     * @return void     */    public function down()    {        Schema::dropIfExists('withdrawal');    }}
  |