diff --git a/framework/core/migrations/2015_02_24_000000_create_access_tokens_table.php b/framework/core/migrations/2015_02_24_000000_create_access_tokens_table.php index dd904a93b..a6073fce8 100644 --- a/framework/core/migrations/2015_02_24_000000_create_access_tokens_table.php +++ b/framework/core/migrations/2015_02_24_000000_create_access_tokens_table.php @@ -14,7 +14,7 @@ class CreateAccessTokensTable extends Migration { { Schema::create('access_tokens', function(Blueprint $table) { - $table->string('id', 100); + $table->string('id', 100)->primary(); $table->integer('user_id')->unsigned(); }); }