mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-28 17:02:04 +03:00
Removed token 'client' text, avoid confusion w/ oAuth
- Instead have a token_id and a secret. - Displayed a 'Token ID' and 'Token Secret'.
This commit is contained in:
@ -19,8 +19,8 @@ class AddApiAuth extends Migration
|
||||
Schema::create('api_tokens', function(Blueprint $table) {
|
||||
$table->increments('id');
|
||||
$table->string('name');
|
||||
$table->string('client_id')->unique();
|
||||
$table->string('client_secret');
|
||||
$table->string('token_id')->unique();
|
||||
$table->string('secret');
|
||||
$table->integer('user_id')->unsigned()->index();
|
||||
$table->date('expires_at')->index();
|
||||
$table->nullableTimestamps();
|
||||
|
Reference in New Issue
Block a user