Thank you, mdipierro. I didn't know the trick before. Now it works.

2009/8/26 mdipierro <[email protected]>

>
> Did you delete the *.table files in yourapp/databases/ ?
>
> Massimo
>
> On Aug 26, 10:20 am, 陶艺夫 <[email protected]> wrote:
> > Hi,
> > I have finished my app, and I deleted the database-which contains a lot
> of
> > testing data-from PostgreSQL server then created a new empty one. I
> thought
> > when my app found that all tables had gone it would re-create all tables
> > automatically. But it wasn't the case. It would just complain "relation
> > blabla doesn't exist". As I know, 'migrate' argument in define_table()
> has
> > default value: True, and according to the web2py manual, the tables
> creation
> > will be automatic in this case.
> > I had restarted my server when I encountered the problem above.
> > Any idea?
> >
> > thanks.
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to