I am pretty new in data base design and I would like have your opinion :-). I need design a simple Data Base for a CMS, CMS will manage Articles and Blog Posts for my website. My Questions:
A) Since fields in DB for Articles and Blog Posts are the same (ex: Title, Main content) expect "Type" (Posts or Full-Articles), I thought would be a good design solution to have a single Table "Pages" and associate a Look Up table for "Type".
- It is a good design solutions?
- Where to place a Clustered Index to improve performance?
B) Articles and Blog Posts could have property like "Top Article" or "Editor Choice". I thought to manage this property adding a Field to table "Pages" like "IsTop Article" and "IsEditorChoice".
- It is a good design solutions?
- Could make sense use a separate Table and associate a FK for these fields?