Results 1 to 3 of 3
  1. #1
    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.

  2. #2
    Join Date
    Apr 2002
    Location
    Toronto, Canada
    Posts
    20,002
    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 --
    nounParis prepIn artThe nounSpring
    difficult, isn't it? so please, remove the "tbl" prefix from your table names

    rudy.ca | @rudydotca
    Buy my SitePoint book: Simply SQL

  3. #3
    Join Date
    Oct 2006
    Posts
    29
    Did the changes and now it looks better.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •