mirror of
https://github.com/flarum/framework.git
synced 2024-12-11 21:43:38 +08:00
Primary key for access tokens table
This commit is contained in:
parent
0f8968ee63
commit
dcd67b9d5c
|
@ -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();
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user