You can use

auth.settings.update(
        table_user_name='auth_user',
        table_group_name='auth_group',
        table_membership_name='auth_membership',
        table_permission_name='auth_permission',
        table_event_name='auth_event',
        table_cas_name='auth_cas',
        table_token_name='auth_token')

before 

    auth.define_tables()

and pick any name you want.


On Tuesday, 8 November 2016 11:30:47 UTC-6, Ramos wrote:
>
> Hello just found that auth_membership and auth_permissions are created as 
> AUTH_00001 and AUTH_00002
>
> Those who know a litle of working with AS400/db2 know that table names are 
> max 10 char long.
>
> So i think we have a problem...
>
> Regards
> António
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to