title: SQLSTATE[HY000]: General error: 1364 Field 'name' doesn't have a default value laravel 5.5
body: <p>I'm staring with Laravel and I'm having troubles trying to make a simple insert, but It seems that all of my fillable fields are not being included. This is the error:</p>
  
  <pre><code>SQLSTATE[HY000]: General error: 1364 Field 'name' doesn't have a default value 
  (SQL: insert into `addresses` (`updated_at`, `created_at`) 
  values (2017-12-25 09:31:49, 2017-12-25 09:31:49))
  </code></pre>
  
  <p>As you can see, only <code>created_at</code> and <code>updated_at</code> are about to be inserted, I thought that maybe I forgot my <code>fillable</code> vars, but this is my Model:</p>
  
  <pre><code>&lt;?php
  
  namespace App;
  
  use Illuminate\Database\Eloquent\Model;
  
  class Addresses extends Model
  {
  
  protected $fillable = [
      'name',
      'city',
      'suburb',
      'street',
      'o_number',
      'i_number',
      'postal_code',
      'phone_s',
      'email_s',
      'google_map',
      'customer_id'
  ];
  
  }
  </code></pre>
  
  <p>And the Controller</p>
  
  <pre><code>&lt;?php
  
  namespace App\Http\Controllers;
  
  use Illuminate\Http\Request;
  use App\Addresses;
  use App\Customers;
  
  class AddressesController extends Controller
  {
  public function __construct()
  {
      $this-&gt;middleware('auth');
  }
  
  public function store(Request $request){
  
      $create = Addresses::create([
          'name' =&gt; request('name'),
          'city' =&gt; request('city'),
          'suburb' =&gt; request('suburb'),
          'street' =&gt; request('street'),
          'o_number' =&gt; request('o_number'),
          'i_number' =&gt; request('i_number'),
          'postal_code' =&gt; request('postal_code'),
          'phone_s' =&gt; request('phone_s'),
          'email_s' =&gt; request('email_s'),
          'google_map' =&gt; request('google_map'),
          'customer_id' =&gt; Customers::where('code',$request-&gt;session()-&gt;get('customer_code'))-&gt;first()-&gt;id
      ]);
  
      $success = $create ? $request-&gt;session()-&gt;flash('success', '¡Registro exitoso!') : $request-&gt;session()-&gt;flash('success', 'Ooops! Algo salio mal :(');
  
      return redirect('addresses/'.$request-&gt;session()-&gt;get('customer_code'));
   }
  }
  </code></pre>
  
  <p>Echo the <code>request()</code> values works! So I'm missing right now, I have some other Models and Controller working good in the same way. Please Help!</p>