Hi everyone,

I've been spending all day to migrate my sqlite3 database to a MySQL 
database. I've tried multiple options but i always get the following, in 
the end:

IntegrityError: (1452, u'Cannot add or update a child row: a foreign key 
constraint fails (`charon`.`deviceservices`, CONSTRAINT 
`deviceservices_ibfk_2` FOREIGN KEY (`servicetype_id`) REFERENCES 
`services` (`id`) ON DELETE CASCADE)')

I have absolutely no idea on how to fix this. I really hope someone can 
help me on this.

Thanks in advance,
Remco

-- 



Reply via email to