Removed unnecessary user relation from TagHub
This commit is contained in:
parent
5099287624
commit
5884269360
6 changed files with 30 additions and 13 deletions
|
@ -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)
|
||||
);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue