more fixes
This commit is contained in:
@@ -30,12 +30,22 @@ class UserProfile extends Model
|
||||
'gender',
|
||||
'website',
|
||||
'auto_post_upload',
|
||||
'email_notifications',
|
||||
'upload_notifications',
|
||||
'follower_notifications',
|
||||
'comment_notifications',
|
||||
'newsletter',
|
||||
];
|
||||
|
||||
protected $casts = [
|
||||
'birthdate' => 'date',
|
||||
'avatar_updated_at'=> 'datetime',
|
||||
'auto_post_upload' => 'boolean',
|
||||
'email_notifications' => 'boolean',
|
||||
'upload_notifications' => 'boolean',
|
||||
'follower_notifications' => 'boolean',
|
||||
'comment_notifications' => 'boolean',
|
||||
'newsletter' => 'boolean',
|
||||
];
|
||||
|
||||
public $timestamps = true;
|
||||
|
||||
Reference in New Issue
Block a user