Bug 249966

Summary: Add composite primary keys support for many-to-many relationships
Product: [Applications] KEXI Reporter: Max <msjs08>
Component: TablesAssignee: Kexi Bugs <kexi-bugs>
Status: CONFIRMED ---    
Severity: wishlist    
Priority: NOR    
Version: 2.4.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: relationship diagram of how I would like to see a composite key

Description Max 2010-09-03 06:16:44 UTC
Created attachment 51256 [details]
relationship diagram of how I would like to see a composite key

Version:           2.2.1 (KOffice 2.2.1) (using KDE 4.3.5) 
OS:                Linux

Kexi needs to have the ability to deal with many to many relationships.
In a 13 yr old nameless product on another OS that I believe kexi is trying to emulate, I was able to do this. 

Reproducible: Didn't try
Comment 1 Jarosław Staniek 2010-09-03 21:42:21 UTC
Thanks for the wish. Of course it's important.

For SQLite this comment gives some insight that we can do it without hacks:

http://www.mail-archive.com/sqlite-users@sqlite.org/msg31637.html
Comment 2 Jarosław Staniek 2010-09-03 21:52:22 UTC
The idea for improvement is to create the helper table automatically but allow advanced users to alter it or create is by hand.
Comment 3 Jarosław Staniek 2012-02-23 23:04:04 UTC
Relates to Bug #277435 - "Unable to create a primary key of more than one column"