Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.2.0-ALPHA3
-
Fix Version/s: 1.2.0-ALPHA3
-
Component/s: Import/Export
-
Labels:None
Description
If the name of ForeignKey constraint is too long, the sql insert failed on this.
I tested with this:
ALTER TABLE article_i18n_index ADD CONSTRAINT article_i18n_index_id_article_i18n_id FOREIGN KEY (id) REFERENCES article_i18n(id) ON UPDATE CASCADE ON DELETE CASCADE;
The article_i18n_index_id_article_i18n_id <-- this is too long
MySql 5.086
Doctrine 1.2 (last)