mirror of
https://github.com/flarum/framework.git
synced 2024-12-12 06:03:39 +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)
|
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();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user