-
Notifications
You must be signed in to change notification settings - Fork 134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot create admin-root user #30
Comments
Did you create a user account with the email you're assigning as admin?
…On 9:48AM, Mon, 12 Jul 2021 Ares ***@***.*** wrote:
After I execute the "php artisan admin:assign-role myEmail slug" command,
I get an error "WHOOPS! We could not assign user a role because: No query
results for model [Designer\Domain\Users\Models\ user]."
The name of my "App" is "Designer".
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#30>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADDREDICSTSOEXFZICUUOR3TXKF2NANCNFSM5AGGITRA>
.
|
The role definition is not in the script I just installed. Any advise? |
php artisan role:assign [email protected] admin-root. ( i changed with my email ) the result is Invalid user credentials. role admin-root is correctly in the roles table i tried again after creating user via the signup link and this is the error
the column is missing in the user_roles table... something is not updated... the documentation... or the database... |
Make sure you have created an account with that email first
…On Thu, Jul 6, 2023 at 12:30 PM samuele coppede ***@***.***> wrote:
php artisan role:assign ***@***.*** admin-root. ( i changed
with my email )
the result is
Invalid user credentials.
role admin-root is correctly in the roles table
—
Reply to this email directly, view it on GitHub
<#30 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADDREDPKMGIQUPTG2GBL2NLXO2ASPANCNFSM5AGGITRA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Some migrations are missing; can be fixed by publishing them
Do not forget to run artisan migrate afterwards |
After I execute the "php artisan admin:assign-role myEmail slug" command, I get an error "WHOOPS! We could not assign user a role because: No query results for model [Designer\Domain\Users\Models\ user]."
The name of my "App" is "Designer".
The text was updated successfully, but these errors were encountered: