title: Laravel 5 Migration, Invalid default value when integer
body: <p>I was trying to create an table having a <strong>0</strong> as its default integer value
  The code looks like:</p>
  
  <pre><code>Schema::create('gsd_proyecto', function($table) {
          $table-&gt;increments('id');
          $table-&gt;string('nombre', 80)-&gt;unique();
          $table-&gt;string('descripcion', 250)-&gt;nullable();
          $table-&gt;date('fechaInicio')-&gt;nullable();
          $table-&gt;date('fechaFin')-&gt;nullable();
          $table-&gt;integer('estado', 1)-&gt;default(0);
          $table-&gt;string('ultimoModifico', 35)-&gt;nullable();
          $table-&gt;timestamps();
      });
  </code></pre>
  
  <p>But when I run the migration I'm getting the next error:</p>
  
  <pre><code>Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[42000]: Syntax error or access violation: 1067 Invalid default value for 'estado' 
  </code></pre>
  
  <p>I was checking what is the SQL created by laravel and I found next</p>
  
  <pre><code>create table `gsd_proyecto` (
   `id` int unsigned not null auto_increment primary key, 
   `nombre` varchar(80) not null, 
   `descripcion` varchar(250) null, 
   `fechaInicio` date null, 
   `fechaFin` date null, 
   `estado` int not null default '0' auto_increment primary key,   
   `ultimoModifico` varchar(35) null, 
   `created_at` timestamp default 0 not null, 
   `updated_at` timestamp default 0 not null
  )
  </code></pre>
  
  <p>As you can see, laravel is trying to set the field <strong>estado</strong> with a char value (<strong>'0'</strong>) and also as an autoincrement primary key</p>
  
  <p>Any help will be really appreciated</p>