mirror of
https://github.com/flarum/framework.git
synced 2025-06-07 17:24:33 +08:00
Primary key for access tokens table
This commit is contained in:
@ -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();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user