add web_notifications and email_notifications attributs to User migration and model
This commit is contained in:
+3
-1
@@ -26,7 +26,9 @@ class User extends Authenticatable
|
||||
'validate',
|
||||
'role',
|
||||
'verified_at',
|
||||
'profile_photo_path'
|
||||
'profile_photo_path',
|
||||
'email_notifications',
|
||||
'web_notifiactions'
|
||||
];
|
||||
|
||||
/**
|
||||
|
||||
@@ -21,6 +21,8 @@ return new class extends Migration
|
||||
$table->integer('validate');
|
||||
$table->integer('role')->nullable();
|
||||
$table->dateTime('verified_at')->nullable();
|
||||
$table->integer('email_notifications');
|
||||
$table->integer('web_notifiactions');
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user