feat: prepping launch
This commit is contained in:
@@ -22,9 +22,23 @@ class Artist extends Model
|
||||
'deleted_at' => 'datetime',
|
||||
];
|
||||
|
||||
protected $fillable = [
|
||||
'user_id',
|
||||
'name',
|
||||
'slug',
|
||||
'avatar',
|
||||
'header',
|
||||
'location',
|
||||
'website',
|
||||
'bio',
|
||||
'created_at',
|
||||
'updated_at',
|
||||
'deleted_at',
|
||||
];
|
||||
|
||||
public function user()
|
||||
{
|
||||
return $this->belongs_to(User::class);
|
||||
return $this->belongsTo(User::class);
|
||||
}
|
||||
|
||||
public function artworks()
|
||||
|
||||
Reference in New Issue
Block a user