Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 1.2.1
-
Fix Version/s: None
-
Component/s: Inheritance
-
Labels:None
-
Environment:MySQL 5 / PHP 5.3.1 / Symfony 1.4.3 (branch) / Doctrine 1.2.1 / Mac OSX
Description
When creating a model involving column_inheritance the CREATE TABLE statement gets duplicated.
The second CREATE TABLE include an index for the keyField.
Test doctrine generated models and generated schema.sql attached.
It seems this issue is related to using array_unique() and databases which doctrine creates index along with the CREATE TABLE statement.
This does not occur on sqlite as shown above in the console-log.txt (this db uses the CREATE INDEX statement).