feat: prepping launch

This commit is contained in:
2023-12-14 11:30:49 -06:00
parent c352d4d273
commit 2ec4405b7b
49 changed files with 3006 additions and 182 deletions

View File

@@ -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()