> > thank you Jim, but I don't understand... > > If I set > migrate=False > fake_migrate= True > > it means that web2py create the .table files without touching the db, > isn'it? > > If I set > migrate=True > fake_migrate=True > > It means what exactly? >
migrate=True tells web2py to do the table migration procedure (i.e. make any changes to your db based on your models) . fake_migrate=True tells web2py to *not* actually create the tables in the db itself but to just create the .table files (without any db action). If migrate=False then web2py does nothing further, regardless of the fake_migrate setting. For more info, see: http://web2py.com/books/default/chapter/29/06/the-database-abstraction-layer?search=fake_migrate#table_migrations HTH, > > -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/81112fee-308b-43fc-9671-4fb63ab124b9o%40googlegroups.com.

