sql - How do you store variables fields? -


i've database i've comments, votes, galleries, images, etc... examples, galleries , images can commented using same form, i'll store in single table, comment.

i'm wondering how store type information in comment table? using enum type, foreign key against type table, hardcoded on insert, etc.. ?

foreign key against type table vote. this:

alt text


Comments

Popular posts from this blog

silverlight - Applying a style to ItemContainerStyle in C# -

c# - NullReferenceException in MySqlClient.NativeDriver -

php - How can I merge Nodes & Webform Submissions into instances of one general Content Type in Drupal 6? -