]> BookStack Code Mirror - bookstack/blobdiff - database/migrations/2019_12_29_120917_add_api_auth.php
Added testing coverage to user API token interfaces
[bookstack] / database / migrations / 2019_12_29_120917_add_api_auth.php
index 2af0b292eb05d87c88b0f61623fc647cdb354312..c8a1a7781859c01f2cc17b8ba082958f843dab79 100644 (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();
         });