Database Design: Multiple identifying relationships between two entities -


i have 2 entities user, , message.

to avoid surrogate primary key message should weak entity depending on user, having 2 references of same (primary key) attribute user - email, partial key supposed unix_timestamp.

is fine approach? there other alternative?


Comments

Popular posts from this blog

How to connect android app to App engine -

gcc - MinGW's ld cannot perform PE operations on non PE output file -

php - display validation error message next to the textbox in codeigniter -