set migrate=False.
do a backup (pgdump) on #1
do a restore on #2
live happy.
On Friday, January 29, 2016 at 10:07:02 PM UTC+1, Alex Glaros wrote:
>
> I move my app back and forth between different development PCs and when I
> pack the app on site #1 and upload to site #2 there is no data in it.
>
> Transferring worked with sqLite as the database but I can't get PostGres
> version to work. Tried many combinations of migrate, fake_migrate, true,
> false, etc.
>
> Export/Import didn't work either
> (db.import_from_csv_file(open('somefile6.csv', 'rb'))). Raised constraint
> error which should be impossible because data came directly from parent app
> that was just cloned in the pack operation.
>
> Any tips on moving a Postgres-based app?
>
> thanks,
>
> Alex Glaros
>
--
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/d/optout.