title: how can I add columns for App\User and store the data to in users table in laravel 5.1?
body: <pre><code>public function up()
  {
      Schema::create('users', function (Blueprint $table) {
          $table-&gt;increments('id');
          $table-&gt;string('name');
          $table-&gt;string('email')-&gt;unique();
          $table-&gt;string('password', 60);
          $table-&gt;integer('mobile');
          $table-&gt;integer('status')-&gt;default(0);
          $table-&gt;integer('team_id');
          $table-&gt;string('created_by');
          $table-&gt;string('updated_by');
          $table-&gt;rememberToken();
          $table-&gt;timestamps();
      });
  }
  </code></pre>
  
  <p>The above method creates user table with few additional columns.I then added fillable content in my User model as:</p>
  
  <pre><code>protected $fillable = ['name', 'email', 'password','mobile','team_id'];
  </code></pre>
  
  <p>My create.blade.php view is:</p>
  
  <pre><code>@extends('master')
  
  @section('title','Creating.. User')
  
  @section('content')
  &lt;div class="container-fluid"&gt;
      &lt;div class="row"&gt;
          &lt;div class="col-md-8 col-md-offset-2"&gt;
              &lt;div class="panel panel-default"&gt;
                  &lt;div class="panel-heading"&gt;Register&lt;/div&gt;
                  &lt;div class="panel-body"&gt;
                      @if (count($errors) &gt; 0)
                          &lt;div class="alert alert-danger"&gt;
                              &lt;strong&gt;Whoops!&lt;/strong&gt; There were some problems with your input.&lt;br&gt;&lt;br&gt;
                              &lt;ul&gt;
                                  @foreach ($errors-&gt;all() as $error)
                                      &lt;li&gt;{{ $error }}&lt;/li&gt;
                                  @endforeach
                              &lt;/ul&gt;
                          &lt;/div&gt;
                      @endif
  
                      &lt;form class="form-horizontal" role="form" method="POST" action="{{ url('/auth/register') }}"&gt;
                          {!! csrf_field() !!}
  
                          &lt;div class="form-group"&gt;
                              &lt;label class="col-md-4 control-label"&gt;Name&lt;/label&gt;
                              &lt;div class="col-md-6"&gt;
                                  &lt;input type="text" class="form-control" name="name" value="{{ old('name') }}"&gt;
                              &lt;/div&gt;
                          &lt;/div&gt;
  
                          &lt;div class="form-group"&gt;
                              &lt;label class="col-md-4 control-label"&gt;E-Mail Address&lt;/label&gt;
                              &lt;div class="col-md-6"&gt;
                                  &lt;input type="email" class="form-control" name="email" value="{{ old('email') }}"&gt;
                              &lt;/div&gt;
                          &lt;/div&gt;
  
                          &lt;div class="form-group"&gt;
                              &lt;label class="col-md-4 control-label"&gt;Password&lt;/label&gt;
                              &lt;div class="col-md-6"&gt;
                                  &lt;input type="password" class="form-control" name="password"&gt;
                              &lt;/div&gt;
                          &lt;/div&gt;
  
                          &lt;div class="form-group"&gt;
                              &lt;label class="col-md-4 control-label"&gt;Confirm Password&lt;/label&gt;
                              &lt;div class="col-md-6"&gt;
                                  &lt;input type="password" class="form-control" name="password_confirmation"&gt;
                              &lt;/div&gt;
                          &lt;/div&gt;
  
                          &lt;div class="form-group"&gt;
                              &lt;label class="col-md-4 control-label"&gt;Mobile&lt;/label&gt;
                              &lt;div class="col-md-6"&gt;
                                  &lt;input type="number" class="form-control" name="mobile"&gt;
                              &lt;/div&gt;
                          &lt;/div&gt;
  
                          &lt;div class="form-group"&gt;
                              &lt;label class="col-md-4 control-label"&gt;Team&lt;/label&gt;
                              &lt;div class="col-md-6"&gt;
                                  &lt;input type="number" class="form-control" name="team_id"&gt;
                              &lt;/div&gt;
                          &lt;/div&gt;
                          &lt;!--
                          &lt;div class="form-group"&gt;
                              &lt;label class="col-md-4 control-label"&gt;Role&lt;/label&gt;
                              &lt;div class="col-md-6"&gt;
                                  &lt;input type="text" class="form-control" name="role"&gt;
                              &lt;/div&gt;
                          &lt;/div&gt;
                          --&gt;
                          &lt;div class="form-group"&gt;
                              &lt;div class="col-md-6 col-md-offset-4"&gt;
                                  &lt;button type="submit" class="btn btn-primary"&gt;
                                      Register
                                  &lt;/button&gt;
                              &lt;/div&gt;
                          &lt;/div&gt;
  
                      &lt;/form&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  @endsection
  </code></pre>
  
  <p>Then,I filled all the fields in the form and when I submit I get username,password,email.I am not getting other fields "mobile number" and "team_id".(Team Id is what I enter in the form)
  <a href="http://i.stack.imgur.com/YzWvh.png" rel="nofollow">fields- username,password is saved but mobile and team aren't</a></p>
  
  <p>I can create this with controller,defining my own routes and do it manually.But,I don't want to do that.I want to use the same User model that comes default for authentication in laravel 5.1.
  What I need is ::: Is there any way to create and store these columns in the database with the users table that exists in migration by default.</p>
  
  <p>I changed the mobile from integer to string and tried but couldn't get the values into the database.I wan't the values that I enter to get stored in my users table. Can anyone help me to solve my problem.</p>
  
  <p>I am using bestmomo/scaffold package.</p>