From dcd67b9d5cdb6728f5ba45eeed6d6e025d24e2e4 Mon Sep 17 00:00:00 2001 From: Franz Liedke Date: Tue, 19 May 2015 00:46:04 +0200 Subject: [PATCH] Primary key for access tokens table --- .../migrations/2015_02_24_000000_create_access_tokens_table.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }); }