Primary key for access tokens table

This commit is contained in:
Franz Liedke 2015-05-19 00:46:04 +02:00
parent 0f8968ee63
commit dcd67b9d5c

View File

@ -14,7 +14,7 @@ class CreateAccessTokensTable extends Migration {
{ {
Schema::create('access_tokens', function(Blueprint $table) Schema::create('access_tokens', function(Blueprint $table)
{ {
$table->string('id', 100); $table->string('id', 100)->primary();
$table->integer('user_id')->unsigned(); $table->integer('user_id')->unsigned();
}); });
} }