Migrate a Django project from MySQL to Oracle

Posted by pablo on Stack Overflow See other posts from Stack Overflow or by pablo
Published on 2010-04-21T07:22:34Z Indexed on 2010/04/21 7:23 UTC
Read the original article Hit count: 281

Filed under:
|
|
|

Hi,

I have a Django1.1 project that works with a legacy MySQL db. I'm trying to migrate this project to Oracle (xe and 11g). We have two options for the migration: - Use SQL developer to create a migration sql script. - Use Django fixtures.

The schema created with the sql script from sql developer doesn't match the schema created from syncdb. For example, Django expects TIMESTAMP columns while sql developer creates DATE columns.

Using syncdb with Django fixtures could be great but when trying to load the MySQL fixtures into Oracle, after using syncdb, I'm getting: IntegrityError: ORA-00001: unique constraint (USER.SYS_C004253) violated

How can I find what part create the integrity error?

Thanks

© Stack Overflow or respective owner

Related posts about django

Related posts about Oracle