mirror of
https://github.com/Neetpone/ponepaste.git
synced 2025-03-12 06:30:07 +01:00
Fix session
This commit is contained in:
parent
4da8904520
commit
5981f6d914
1 changed files with 4 additions and 0 deletions
|
@ -10,6 +10,10 @@ class UserSession extends Model {
|
||||||
'expire_at' => 'datetime'
|
'expire_at' => 'datetime'
|
||||||
];
|
];
|
||||||
|
|
||||||
|
protected $fillable = [
|
||||||
|
'user_id', 'token', 'expire_at'
|
||||||
|
];
|
||||||
|
|
||||||
public function user() {
|
public function user() {
|
||||||
return $this->belongsTo(User::class);
|
return $this->belongsTo(User::class);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue