restore composer.json, add mysqli extension
This commit is contained in:
39
app/Models/PersonalAccessToken.php
Executable file
39
app/Models/PersonalAccessToken.php
Executable file
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* @package App\Models
|
||||
* @property int $id
|
||||
* @property string $tokenable_type
|
||||
* @property int $tokenable_id
|
||||
* @property string $name
|
||||
* @property string $token
|
||||
* @property array $abilities
|
||||
* @property \Carbon\Carbon $last_used_at
|
||||
* @property \Carbon\Carbon $expires_at
|
||||
* @property \Carbon\Carbon $created_at
|
||||
* @property \Carbon\Carbon $updated_at
|
||||
*/
|
||||
class PersonalAccessToken extends Model
|
||||
{
|
||||
protected $table = 'personal_access_tokens';
|
||||
|
||||
protected $casts = [
|
||||
'abilities' => 'array',
|
||||
'last_used_at' => 'datetime',
|
||||
'expires_at' => 'datetime',
|
||||
];
|
||||
|
||||
protected $fillable = [
|
||||
'tokenable_type',
|
||||
'tokenable_id',
|
||||
'name',
|
||||
'token',
|
||||
'abilities',
|
||||
'last_used_at',
|
||||
'expires_at',
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user