Thanks Antony. I already have the line auth.define_tables(username=False, signature=False) and the book mentions: migrate=False as a parameter to auth.define_tables However it was not obvious for me that it can be used this way This topic certainly increased my understanding of web2py Thanks
On Monday, January 7, 2019 at 2:07:03 AM UTC+1, Anthony wrote: > > On Sunday, January 6, 2019 at 2:41:53 PM UTC-5, icodk wrote: >> >> Thanks to all of you >> How do I add migrate to the auth tables ? >> I use >> auth.settings.extra_fields for extra fields but entering >> migrate='db1_auth_user.table' does not fits in this structure >> > > You can do: > > auth.define_tables(..., migrate="db1_") > > and the *.table files will end up like db1_auth_user.table, > db1_auth_group.table, etc. > > 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.