id(); $table->string("name")->nullable(); $table->integer("project_id")->nullable(); $table->string("username")->nullable()->unique(); $table->string("sex")->nullable(); $table->string("birthday")->nullable(); $table->string("mobile")->nullable(); $table->string("openid")->nullable()->unique(); $table->string("unionid")->nullable()->unique(); $table->string('password')->nullable(); $table->rememberToken(); $table->timestamps(); $table->softDeletes(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('managers'); } }