[ https://issues.apache.org/jira/browse/CAY-2237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nikita Timofeev reassigned CAY-2237: ------------------------------------ Assignee: Nikita Timofeev > Issue with PK and FK generation separated from table creation > ------------------------------------------------------------- > > Key: CAY-2237 > URL: https://issues.apache.org/jira/browse/CAY-2237 > Project: Cayenne > Issue Type: Bug > Components: Modeler > Affects Versions: 4.0.M5 > Reporter: ana benko > Assignee: Nikita Timofeev > > 1. Create db schema in Modeler (Entities and Relationships) > 2. Run Generate DB Schema > 3. Select only 'Create Tables' ckeckbox (note: empty schema already exists in > database). Run. Verify results in database > -> all tables are created > 4. Run Generate DB Schema once more > 5. Now select only Create FK Support and Create Primary Key Support. Run. > Verify results in database > -> FK and PK are not created > note: select all 3 cheboxes (create tables, FK and PK) in Generate DB Schema > -> FKs and PKs are created successfully. -- This message was sent by Atlassian JIRA (v6.3.15#6346)