If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > General > Database Concepts & Design > video blog database design

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-08-06, 14:58
solomon13000 solomon13000 is offline
Registered User
 
Join Date: Oct 2006
Posts: 29
video blog database design

http://mutaiyas.com/db/System%20Data%20Dictionary.htm

The above link is a website that shows an ER diagram along with the tables. Its a simple video blog system. I require comments on whether what I have done makes sence (diagram, tables and so on)? How can the existing stuff be improved?

Your help is kindly appreciated.
Reply With Quote
  #2 (permalink)  
Old 10-08-06, 16:36
r937 r937 is offline
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,524
i would combine the User and Admin tables, and have a column named isAdmin to identify the admins

if Privilege is really 1-to-1, just combine it into the User/Admin table -- otherwise, you'll need another table between them, if an admin can have more than one priviledge (which is the most flexible scenario)

can you read this --
Quote:
nounParis prepIn artThe nounSpring
difficult, isn't it? so please, remove the "tbl" prefix from your table names

__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
Reply With Quote
  #3 (permalink)  
Old 10-08-06, 20:59
solomon13000 solomon13000 is offline
Registered User
 
Join Date: Oct 2006
Posts: 29
Did the changes and now it looks better.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On