increments('id'); $table->string('name')->comment('名称'); $table->string('alias')->comment('别名'); $table->string('s_intro')->comment('简单描述'); $table->string('introd')->comment('详细描述'); $table->string('partnerid')->comment('合作者身份(Partner ID)')->nullable(); $table->string('ytauthkey')->comment('安全校验码(Key)')->nullable(); $table->string('account')->comment('账号')->nullable(); $table->tinyInteger('type')->default('1')->comment('类型(1:支付宝 2:微信 3: 线下转账)'); $table->timestamps(); $table->softDeletes(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('payments'); } }