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.
Activity
webPragmatist
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Attachment | sandbox-console.txt [ 10414 ] |
Roman S. Borschel
made changes -
| Assignee | Roman S. Borschel [ romanb ] | Jonathan H. Wage [ jwage ] |
Hany el-Kerdany
made changes -
| Attachment | kerdany_10-11-18-08-30.yml [ 10870 ] | |
| Attachment | kerdany_10-11-18-08-30.sql [ 10871 ] |
Hany el-Kerdany
made changes -
| Comment | [ illustrating the duplicate generation of CREATE TABLE statements, one extra statement for each automatically created index. ] |