increments('id'); $table->integer('site_id')->nullable()->comment('站点ID'); $table->integer('user_id')->comment('用户ID'); $table->integer('openid')->comment('用户openid'); $table->string('out_trade_no')->comment('支付订单'); $table->double('price')->comment('支付金额'); $table->softDeletes(); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('payment_info'); } }