Changes between Version 7 and Version 8 of CompositePrimaryKeyDesignNotes
- Timestamp:
- Jul 22, 2010, 8:03:49 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CompositePrimaryKeyDesignNotes
v7 v8 4 4 5 5 == Design Questions == 6 How do you define multiple primary keys?The "neatest" solution would be to allow primary_key=True on multiple fields but this may be precluded by other design considerations.6 '''How do you define multiple primary keys?''' The "neatest" solution would be to allow primary_key=True on multiple fields but this may be precluded by other design considerations. 7 7 8 How do you foreign key onto a table with a composite foreign key? 8 '''How do you foreign key onto a table with a composite foreign key?''' 9 9 10 10 == Affected Areas ==