Keep in mind that when using SQLite, the database moves with the app 
because the SQLite database file is stored in the app's /databases folder. 
This is not the case for any other databases.

Anthony

On Friday, January 29, 2016 at 4:07:02 PM UTC-5, 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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to