Was trying to define the primary key twice

This commit is contained in:
Jonny Barnes 2017-03-10 10:06:41 +00:00
parent d33c43958a
commit 46ebd38d6b

View file

@ -20,7 +20,6 @@ class CreateMediaEndpointTable extends Migration
$table->unsignedInteger('note_id')->nullable();
$table->timestamps();
$table->primary('id');
$table->index('token');
$table->foreign('note_id')->references('id')->on('notes');
});