Re: [web2py] DAL and existing tables

2012-05-07 Thread Johann Spies
On 7 May 2012 10:20, Rhys wrote: > > I've also put the flag migration=True in the define_table method. I read > the chapter in the book and still it doesn't seem to want to do it. > > I would try migrate = False # not 'migration' in this case otherwise DAL would try and recreate the table as

[web2py] DAL and existing tables

2012-05-07 Thread Rhys
Hey Guys, I'm having trouble with DAL, as I already have existing tables in the database. I keep on getting the error: Table exists. How do I get around this so the DAL just accepts that the table is there and creates a new file in the database folder. It seems a bit restrictive when it comes t