Is there a way to combine these 3 tables? (mysql)

Posted by ggfan on Stack Overflow See other posts from Stack Overflow or by ggfan
Published on 2010-05-06T23:21:15Z Indexed on 2010/05/06 23:28 UTC
Read the original article Hit count: 91

Filed under:

I'm creating a "flagged" func that flags users, postings, and comments.

I am currently using three tables: "flagged_users" "flagged_postings" and "flagged_comments".

And in each table, there's: flagged_id, user_id/posting_id/comment_id, reason.

Is there a way to combine into just one table? or is 3 tables the best?

© Stack Overflow or respective owner

Related posts about mysql