increments('id'); $table->string('username')->comment('用户名'); $table->string('password', 60)->comment('密码'); $table->string('name')->comment('姓名'); $table->string('avatar')->comment('头像')->nullable(); $table->string('remember_token')->nullable(); $table->timestamps(); $table->softDeletes(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('statistics_users'); } }