Yes, I use migrate enabled in dev env and I dont use custom table 
definition. But, dont worry, I just wanted to find a better solution. Since 
I have it now it works, I will continue like this.

Thank you

El lunes, 16 de julio de 2018, 11:30:03 (UTC-3), Anthony escribió:
>
> On Monday, July 16, 2018 at 8:49:48 AM UTC-4, fiubarc wrote:
>>
>> HI! I can not use db.auth._rname before auth.define_tables and 
>> auth.define_tables does not work because it does not find the tables 
>> since they are created in a different scheme than default.
>>
>
> What do you mean "it does not find the tables"? Are you running 
> auth.define_tables() with migrations enabled? If so, don't do that, as you 
> already have existing tables and do not need migrations. Anyway, if you 
> have custom table definitions, you may not be able to use 
> auth.define_tables() anyway. In that case, you'll need to create custom 
> definitions, in which case, just specify the appropriate "rname" attributes 
> in the custom definition.
>
> Anthony
>

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to