add tests batch 20
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use App\Models\BaseModel;
|
||||
|
||||
class Preferences extends BaseModel
|
||||
{
|
||||
protected $table = 'user_preferences';
|
||||
@@ -32,15 +34,15 @@ class Preferences extends BaseModel
|
||||
];
|
||||
|
||||
protected $casts = [
|
||||
'user_id' => 'integer',
|
||||
'user_id' => 'integer',
|
||||
|
||||
'receive_email_notifications' => 'boolean',
|
||||
'receive_sms_notifications' => 'boolean',
|
||||
'receive_push_notifications' => 'boolean',
|
||||
'daily_summary_email' => 'boolean',
|
||||
'privacy_mode' => 'boolean',
|
||||
'marketing_emails' => 'boolean',
|
||||
'account_activity_alerts' => 'boolean',
|
||||
'receive_sms_notifications' => 'boolean',
|
||||
'receive_push_notifications' => 'boolean',
|
||||
'daily_summary_email' => 'boolean',
|
||||
'privacy_mode' => 'boolean',
|
||||
'marketing_emails' => 'boolean',
|
||||
'account_activity_alerts' => 'boolean',
|
||||
];
|
||||
|
||||
/* Optional relationship */
|
||||
|
||||
Reference in New Issue
Block a user