Hi Massimo,
I tried it but it didnt work out.
I tried both fake_migrate=True and migrate=False. But it is not working.
It is now giving eroor as:
invalid table name: auth_user
Detailed stack trace is:
Traceback (most recent call last):
File "C:\src\web2py\gluon\restricted.py", line 205, in restricted
exec ccode in environment
File "C:\src\web2py\gluon\tools.py", line 1309, in define_tables
format='%(first_name)s %(last_name)s (%(id)s)'))
File "C:\src\web2py\gluon\dal.py", line 6292, in define_table
raise SyntaxError, 'invalid table name: %s' % tablename
SyntaxError: invalid table name: auth_user
Please help.
Regards,
Vilas Patil
On Wednesday, 8 April 2009 09:54:52 UTC+5:30, mdipierro wrote:
> If the table already exists
>
> db.define_table(...., migrate=False)
>
> Massimo
>
> On Apr 7, 11:18 pm, TheDude <[email protected]> wrote:
> > OperationalError: (1050, "Table 'users' already exists")
> >
> > I know it already exists, but I want you to just know about it rather
> > than try to create it all the time. I tried clearing out my /databases
> > folder as well. Any other ideas?