Removed unnecessary user relation from TagHub

This commit is contained in:
Tobi Schäfer 2014-12-14 09:52:58 +01:00
parent 5099287624
commit 5884269360
6 changed files with 30 additions and 13 deletions

View file

@ -226,7 +226,6 @@ create table tag_hub (
tag_id int(10) unsigned,
tagged_id int(10) unsigned,
tagged_type varchar(20),
user_id int(10) unsigned,
primary key (id),
key tagged (tag_id,tagged_type,tagged_id)
);

View file

@ -253,8 +253,7 @@ create table antville.tag_hub (
id int4 primary key,
tag_id int4,
tagged_id int4,
tagged_type varchar(20),
user_id int4
tagged_type varchar(20)
);
create index tagged_idx on antville.tag_hub (tag_id, tagged_id, tagged_type);