1
1
mirror of https://github.com/pterodactyl/panel.git synced 2024-11-25 10:32:31 +01:00
Pterodactyl-Panel/app/Models/Session.php
Matthew Penner cbcf62086f
Upgrade to Laravel 9 (#4413)
Co-authored-by: DaneEveritt <dane@daneeveritt.com>
2022-10-14 10:59:20 -06:00

22 lines
349 B
PHP

<?php
namespace Pterodactyl\Models;
use Illuminate\Database\Eloquent\Model;
class Session extends Model
{
/**
* The table associated with the model.
*/
protected $table = 'sessions';
/**
* Cast values to correct type.
*/
protected $casts = [
'id' => 'string',
'user_id' => 'integer',
];
}