increments('id'); $table->string('phone',100)->comment('手机'); $table->string('name',50)->comment('昵称')->nullable(); $table->string('password',255)->comment('密码'); $table->string('avatar',255)->comment('头像')->nullable(); $table->string('remember_token',150)->comment('记住我')->nullable(); $table->uuid('uuid'); $table->softDeletes(); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('members'); } }