1
0
mirror of https://github.com/flarum/core.git synced 2025-07-19 07:41:22 +02:00

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