mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-05-07 11:40:56 -05:00
(Update) Cleanup Wish Model
This commit is contained in:
@@ -16,8 +16,18 @@ use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Wish extends Model
|
||||
{
|
||||
/**
|
||||
* The Attributes That Aren't Mass Assignable
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $guarded = [];
|
||||
|
||||
/**
|
||||
* Belongs To A User
|
||||
*
|
||||
* @return \Illuminate\Database\Eloquent\Relations\BelongsTo
|
||||
*/
|
||||
public function user()
|
||||
{
|
||||
return $this->belongsTo(User::class)->withDefault([
|
||||
|
||||
Reference in New Issue
Block a user