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',
|
'validate',
|
||||||
'role',
|
'role',
|
||||||
'verified_at',
|
'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('validate');
|
||||||
$table->integer('role')->nullable();
|
$table->integer('role')->nullable();
|
||||||
$table->dateTime('verified_at')->nullable();
|
$table->dateTime('verified_at')->nullable();
|
||||||
|
$table->integer('email_notifications');
|
||||||
|
$table->integer('web_notifiactions');
|
||||||
$table->timestamps();
|
$table->timestamps();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user