Mind to this

auth.settings.table_user_name = 'member'

before auth.define_tables()

On Jun 30, 2:09 am, Fran <[email protected]> wrote:
> On Jun 30, 2:07 am, Mico Siahaan <[email protected]> wrote:
>
> > 1. Can we rename the auth_user table to other for example to member
> > table?
>
> Yes:
> auth.settings.table_user_name = 'member'
>
> > 2. Can rename field id to other for example  to memberId?
>
> No
> All Web2Py tables need a field called 'id'
>
> F
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to