Primary key for access tokens table

This commit is contained in:
Franz Liedke
2015-05-19 00:46:04 +02:00
parent 26c2761cbf
commit 6b4c27a944

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();
}); });
} }