1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-28 17:02:04 +03:00

Added testing coverage to user API token interfaces

This commit is contained in:
Dan Brown
2019-12-29 19:46:46 +00:00
parent dccb279c84
commit 832fbd65af
8 changed files with 180 additions and 11 deletions

View File

@ -22,7 +22,7 @@ class AddApiAuth extends Migration
$table->string('client_id')->unique();
$table->string('client_secret');
$table->integer('user_id')->unsigned()->index();
$table->timestamp('expires_at')->index();
$table->date('expires_at')->index();
$table->nullableTimestamps();
});