From e8836e658281465f374a0c778113c0cf5bd24a42 Mon Sep 17 00:00:00 2001 From: supportsitewill Date: Mon, 30 Dec 2024 16:47:36 +0200 Subject: [PATCH] adds explanation about a default super admin into the README.md file --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 995f3b5..a87ffab 100644 --- a/README.md +++ b/README.md @@ -52,4 +52,9 @@ Go into the NovaServiceProvider.php file and add the next logic into the gate() Gate::define('viewNova', function ($user) { return $user->role_admin; }); -``` \ No newline at end of file +``` + +### If you want to seed a default super admin, run the next command +``` +php artisan db:seed --class=SuperAdminSeeder +```