Changes between Version 15 and Version 16 of CompositePrimaryKeyDesignNotes
- Timestamp:
- Sep 1, 2012, 11:45:02 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CompositePrimaryKeyDesignNotes
v15 v16 5 5 == Design Questions == 6 6 7 === How do you define multiple primary keys? ===7 === How do you specify multiple fields for the primary key? === 8 8 9 The "neatest" solution would be to allow primary_key=Trueon multiple fields but this may be precluded by other design considerations.9 The "neatest" solution would be to allow {{{primary_key=True}}} on multiple fields but this may be precluded by other design considerations. 10 10 11 11 === How do you foreign key onto a table with a composite foreign key? ===