Database Schema for delicious ( Tag Structure)
Date: 25 Feb 2006 10:11:41 -0800
Message-ID: <1140891101.634990.235670_at_j33g2000cwa.googlegroups.com>
Hi,
I have design database model for Tag structure. Do u think del.icio.us
has same structure ?
Database Schema :
create user ( userid integer,
All these tables I have consider has many - many to relation so
associated tables will be there.
I am also including heirarchy of tags, which delicious has not
implemented.
login varchar (255) )
create tag ( tagid integer,
tagname varchar (255)
tagitemcount integer )
create item ( itemid integer,
itemdescription varchar (255),
itemurl varchar (255) )
create hierarchy ( hierarchyid integer,
hierarchyname varchar(255) )
create usertag ( userid integer
tagid integer )
create useritem ( itemid integer,
userid integer )
create tagitem ( tagid integer,
itemid integer )
create taghierarchy ( tagid integer,
hierarchyid integer )
I want to write query for popular tags. and queries related to tag
database.
Reference site :
del.icio.us
http://flickr.com/photos/tonreg/tags/landscape/
Received on Sat Feb 25 2006 - 19:11:41 CET