>
> My migrations suddenly failed with
>

> Error:
> <class 'gluon.contrib.pg8000.errors.ProgrammingError'> ('ERROR', '42P01',
> 'relation "wiki_page" does not exist')
>
>

If the relation does exist in Postgresql (which is why you want to
migrate), try and move the related file in /<app>/databases/ for that table
to another destination (say /var/tmp) and try again.

If the relation does not exist in Postgresql and you want the app not to be
able to create tables freely, change the migrate to True (and fake_migrate
to False), run the app once, and change migrate and fake_migrate to their
previous status.

Regards
Johann
-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to