before moving to the new db:

$ cd <web2py>/applications/<app>
$ cp -a databases databases_sqlite
$ rm -r databases/*

supposing your db on postgresql is fresh and empty (else just make a dump
of it to avoid loosing all your data!):
$ su postgres
$ dropdb <yourdb>
$ createdb -O <yourdbuser>

and try again..

mic


2013/11/9 Niphlod <[email protected]>

> check databases/sql.log for additional details of what web2py did and
> wants to do.
> AFAIK web2py defines tables strictly in the order in which they are
> defined in the model file.
>
>  --
> 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 [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to