adonis-acl icon indicating copy to clipboard operation
adonis-acl copied to clipboard

Change model table name

Open AhmadPirzargar opened this issue 3 years ago • 2 comments

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?

AhmadPirzargar avatar Aug 14 '20 05:08 AhmadPirzargar

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

farshadfahimi avatar Aug 19 '20 09:08 farshadfahimi

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

AhmadPirzargar avatar Aug 20 '20 07:08 AhmadPirzargar