mirror of
https://github.com/flarum/framework.git
synced 2025-05-31 04:25:49 +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)
|
||||
{
|
||||
$table->string('id', 100);
|
||||
$table->string('id', 100)->primary();
|
||||
$table->integer('user_id')->unsigned();
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user