migrate=False prevents web2py to check if the underlying tables are in sync with your model. you don't need to run fake_migrate=True if you're not planning on altering tables on app2. fake_migrate=True just generates .table files according to your model, so you'll get (assuming the connection string is identical) exactly the same files that you can find under app1/databases/
On Tuesday, January 7, 2014 12:44:10 PM UTC+1, Jayadevan M wrote: > > I have an application app1. I want to create another application - app2 > which will use the same set of tables as used by app1. For this, what I > have to do is create a tables.py under app2/models and mention > migrate=False for the common tables. Is that right? Do I have to set > fake_migrate=True and ensure the table files are created under databases > folder in app2? My simple tests tell me it is not necessary. Just for > confirmation. > -- 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/groups/opt_out.

