diff --git a/app/Models/Esi/EsiScope.php b/app/Models/Esi/EsiScope.php index 460b491..a64d206 100644 --- a/app/Models/Esi/EsiScope.php +++ b/app/Models/Esi/EsiScope.php @@ -7,7 +7,7 @@ use Illuminate\Database\Eloquent\Model; class EsiScope extends Model { // Table Name - protected $table = 'EsiScopes'; + protected $table = 'esi_scopes'; //Primary Key public $primaryKey = 'id'; diff --git a/app/Models/Esi/EsiToken.php b/app/Models/Esi/EsiToken.php index c438a39..2952a2d 100644 --- a/app/Models/Esi/EsiToken.php +++ b/app/Models/Esi/EsiToken.php @@ -7,7 +7,7 @@ use Illuminate\Database\Eloquent\Model; class EsiToken extends Model { // Table Name - protected $table = 'EsiTokens'; + protected $table = 'esi_token'; //Primary Key public $primaryKey = 'id'; diff --git a/database/migrations/0001_01_01_000000_create_users_table.php b/database/migrations/0001_01_01_000000_create_users_table.php index c4edbcd..0ef6dbd 100644 --- a/database/migrations/0001_01_01_000000_create_users_table.php +++ b/database/migrations/0001_01_01_000000_create_users_table.php @@ -48,6 +48,7 @@ return new class extends Migration $table->string('character_id'); $table->string('token'); $table->string('refresh_token'); + $table->string('inserted_at'); $table->integer('expiresIn'); }); }