Glad to help you, but there isn't any code

On Thursday, October 6, 2016 at 12:47:36 AM UTC+3, 
argenio...@metamaxzone.com wrote:
>
> I'm doing a migrate data of 2 databases with diferents tables.
>
> My only problems is with ids! 
>
> table 1
> id: 5, name: Diana
> id: 8, name: Carlos
>
>
> when i migrate this data to databases 2
> id: 1, name: Diana
> id: 2, name: Carlos
>
> Look the id's not the same.
>
> what is the method to save the same id?
> I read about primarekey parameters but dont work.
>
> The process of migrate if a script with 2 Pydal, one for the old database 
> and other for new databases.
> I execute one select() of everithing (not much data), later convert to the 
> new structure and all work perfectly. the only problem is with ID .
>
> Please help me, thanks.
>

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