Turn turn off migrations for all tables in the db: db = DAL(..., migrate_enabled=False)
Anthony On Friday, October 7, 2011 12:24:11 PM UTC-4, Harshad wrote: > > Nice. So all I have to do is define them in every application that is > using them and set migrate=False. > > And, next time I'll try to RTFM more carefully. > > Thanks Cliff! > > On Oct 7, 12:19 pm, Cliff <cjk...@gmail.com> wrote: > > Yes. > > > > More information is available here: > http://web2py.com/book/default/chapter/04#Cooperation > > > > On Oct 7, 11:11 am, Harshad <hash0...@gmail.com> wrote: > > > > > > > > > > > > > > > > > I was wondering if its possible to share a database between apps. I > > > have two apps. One is a background process that discovers devices on > > > the network using bonjour and adds them to the database. The other app > > > provides a web interface to view these discovered devices. > > > > > How do I share the same database? Do I define the table twice? --