But I don't understand, how is it possible?
The id's stay same as in source database ---or--- web2py creates a mapping 
based on db model and changes foreign keys with primary keys together?



Dne čtvrtek 2. dubna 2015 9:08:55 UTC+2 Gael Princivalle napsal(a):
>
> Well it's always a shame to see that the answer was in the web2py book.
> So shame on me, and thanks to all.
> CSV all tables at once works perfectly.
>
> Il giorno giovedì 2 aprile 2015 08:39:42 UTC+2, Mirek Zvolský ha scritto:
>>
>> >> export the whole database to csv and import it through web2py, the 
>> integrity of the references will be preserved.
>>
>> What for magic...?
>>
>

-- 
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