mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 06:21:27 +00:00
Update User model, add interstitial relation
This commit is contained in:
parent
327ef1384b
commit
bd321a72f0
1 changed files with 5 additions and 0 deletions
|
@ -88,4 +88,9 @@ class User extends Authenticatable
|
||||||
return $this->hasMany(AccountLog::class);
|
return $this->hasMany(AccountLog::class);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function interstitials()
|
||||||
|
{
|
||||||
|
return $this->hasMany(AccountInterstitial::class);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue