add web_notifications and email_notifications attributs to User migration and model

This commit is contained in:
2026-03-26 09:03:51 +01:00
parent 3457ac8282
commit 1f6f280958
2 changed files with 5 additions and 1 deletions
+3 -1
View File
@@ -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();
}); });
} }