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

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

timeout - Handshake_timeout on RabbitMQ using python and pika from remote vm -

c# - Search and Add Comment with OpenXML for Word -