increments('id'); $table->integer('uid')->comment('会员id'); $table->integer('utype')->comment('会员类型:1企业,2个人'); $table->tinyInteger('type')->comment('第三方类型:1qq,2微信电脑端,3微信公众号,4微信小程序'); $table->tinyInteger('subsite_id')->comment('所属分站'); $table->string('openid')->comment('openid'); $table->string('unionid')->comment('unionid 微信用户才有')->nullable(); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('thirdlogins'); } }