#2720: Wrong syntax generated for foreign keys under MySQL/InnoDB 5.0.22
--------------------------------+-------------------------------------------
Reporter: anonymous | Owner: adrian
Type: defect | Status: new
Priority: high | Milestone:
Component: Database wrapper | Version:
Severity: normal | Resolution:
Keywords: innodb foreign key |
--------------------------------+-------------------------------------------
Comment (by ubernostrum):
Have you double-checked that the foreign keys aren't being created later
on as constraints? IIRC Django often creates the table without FOREIGN KEY
constraints, and then adds those later in the run, once all the tables are
created (this avoids problems caused by the order in which the tables are
created).
--
Ticket URL: <http://code.djangoproject.com/ticket/2720>
Django <http://code.djangoproject.org/>
The web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates
-~----------~----~----~----~------~----~------~--~---