Do you have the original database. If you do you should export it from the 
web2py shell with db.export_to_csv_file and reimport it with 
db.import_from_csv_file. This is documented in the manual. The import will 
automatically fix your keys.

If you use postgres you can use pgdump and pgrestore.

If you do not have the original database then this may be hopeless.

Massimo




P.S. I do not speak english very well either but as long as we understand 
each other we are fine. :-)


On Tuesday, 15 October 2019 06:40:24 UTC-7, Kimus wrote:
>
> Hello !!! 
>
>
> I need help , I have four tables in DB, but I migrated for other domain so 
> i stored the information in another DB, but it returned error, inconpatible 
> foreing key. 
> This ocorred because when uploaded the file "example auth_user" the column 
> ID is modifyed to other number, that is diferent from the original table.
>
> someone could me help me, please, I need this ID to be not modifyed,  
> there is some way ??  
>
> thanks :)
>
>
> PS : I do not speak english, so i'm so sorry :( 
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/63bbf95f-7fec-4486-9b06-3a7d22ba5645%40googlegroups.com.

Reply via email to