Re: [web2py] Re: Moving away from define_table

2012-05-11 Thread Johann Spies
On 10 May 2012 22:10, Anthony wrote: > You can turn off migrations globally for the entire db connection via DAL(..., > migrate_enabled=False). > > Anthony > > p.s., Even people with a programming background find the DAL useful. :-) > I agree. It is useful, but also limiting: e.g. To work with

[web2py] Re: Moving away from define_table

2012-05-10 Thread Anthony
You can turn off migrations globally for the entire db connection via DAL(..., migrate_enabled=False). Anthony p.s., Even people with a programming background find the DAL useful. :-) On Thursday, May 10, 2012 4:01:18 PM UTC-4, simon wrote: > > Can't you just set migrate=false? > > On Thursday,

Re: [web2py] Re: Moving away from define_table

2012-05-10 Thread Richard Vézina
db=DAL('postgres://USER:PWD@127.0.0.1:5432/database', \ *migrate_enabled=False*) Or as simon wrote : db.define_table(...,migrate=False) Richard On Thu, May 10, 2012 at 4:01 PM, simon wrote: > Can't you just set migrate=false? > > > On Thursday, 10 May 2012 20:55:14 UTC+1, Christop

[web2py] Re: Moving away from define_table

2012-05-10 Thread simon
Can't you just set migrate=false? On Thursday, 10 May 2012 20:55:14 UTC+1, Christopher Baron wrote: > > Hi, > > I've been using web2py for a few years now. What I find most annoying is > the DAL. I understand that its easy for people who don't have a > programming background, but anytime I wan