Activity log for bug #550081

Date Who What changed Old value New value Message
2010-03-28 07:27:08 susahosh bug added bug
2010-03-28 07:45:53 susahosh description The Tags table in DB is currently has only one column where tag is a primary key, this is a very bad design because tags are strings and could have large lengths. When it is used as a primary key and is used as a foreign key by other tables it, all of the other tables would have to contain the exact same string and it is very redundant and inefficient. One correct way to do this would be to have a tagid, and a tag column in the Tags table, where the unique database constrain is enforced on the tag column. This way duplicating of any tag would be prevented while other tables can easily use the tagid as a foreign key value to refer to a tag in the Tags table. The Tags table in DB currently has only one column where tag is a primary key, this is a very bad design because tags are strings and could have large lengths. When it is used as a primary key and it is used as a foreign key by other tables all of the tables would have to contain the exact same string and it is very redundant and inefficient. One correct way to do this would be to have a tagid, and a tag column in the Tags table, where the unique database constrain is enforced on the tag column. This way duplicating of any tag would be prevented while other tables can easily use the tagid as a foreign key value to refer to a tag in the Tags table.
2010-03-31 15:46:08 Jorge Silva tagin: assignee Jorge Silva (jorge-silva)
2010-03-31 15:46:23 Jorge Silva tagin: importance Undecided High
2010-03-31 15:46:49 Jorge Silva tagin: status New In Progress
2010-09-28 13:05:09 mark jason dela cruz tags 503037
2010-09-28 13:05:09 mark jason dela cruz name ehmjhay03
2011-04-26 15:37:48 Jorge Silva tagin: status In Progress Won't Fix