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'); } }