-
Bug
-
Resolution: Done
-
Major
-
7.1
-
None
I imported the motels.ddl example file to populate the foo model. When finished importing, I had a number of errors where the importer had created primary and foreign keys without specifying columns for those keys. In one case, here's the DDL:
CREATE TABLE CustomerFamilyHistory
(
customerfamilyhistoryid number(10) CONSTRAINT customerfamilyhistoryid_pk PRIMARY KEY,
firstname varchar2(50) NOT NULL,
lastname varchar2(50) NOT NULL,
age number(3),
sibling varchar2(20),
customerid number(7) NOT NULL
);
The primary key, customerfamilyhistoryid_pk, is created, but no reference to customerfamilyhistoryid is provided.
- is blocked by
-
MODE-1006 ModeShape DDL Sequencer Does Not Create Primary Key Column Reference For Column Constraint That Uses "PRIMARY KEY" Keywords
- Closed