Skip to content
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

Change model table name #41

Open
AhmadPirzargar opened this issue Aug 14, 2020 · 2 comments
Open

Change model table name #41

AhmadPirzargar opened this issue Aug 14, 2020 · 2 comments

Comments

@AhmadPirzargar
Copy link

We use adonis-ACL. We want to change "Role" and "Permission" table names to be consistent with our naming conventions. Is there any way to set table names as desired?

@farshadfahimi
Copy link

farshadfahimi commented Aug 19, 2020

I think you should rename the table in migration and just create two other model class for role and permission that extends the adonis-acl role&permission model

@AhmadPirzargar
Copy link
Author

I think you should rename the table in migration and just create two other model class for role and permission that extends the adonis-acl role&permission model

haji karet dorste damet garm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants