title: Laravel 5.0, migration: how to make integer not a primary key?
body: <p>I would like to migrate a table with the elements below.</p>
  
  <pre><code>public function up() {
      Schema::create('users', function(Blueprint $table) {
          $table-&gt;increments('id');
          $table-&gt;integer('LoginID', 9)-&gt;unsigned();
          $table-&gt;string('username');
          $table-&gt;string('email')-&gt;unique();
          $table-&gt;string('password', 60)-&gt;unique();
          $table-&gt;rememberToken();
          $table-&gt;timestamps();
      });
  }
  </code></pre>
  
  <p>However, I have kept dealing with the error below.
  Does anyone know how to make integer "LoginID not a primary key so that I can migrate the table below? Any advice appreciated. Thanks in advance.</p>
  
  <blockquote>
    <p>[Illuminate\Database\QueryException]<br>
          SQLSTATE[HY000]: General error: 1 table "users" has more than one primary key (SQL: create table "users" ("id" integer not null primary key autoincrement, "LoginID" integer not null primary key autoincrement, "username" varchar not null, "email" varchar not null, "password" varchar not null, "remember_token" varchar null, "created_at" date time not null, "updated_at" datetime not null))    </p>
  </blockquote>