Commit ba1f08c3 authored by Mike Hibler's avatar Mike Hibler
Browse files

Argh! Messed up the primary key for subboss_attributes.

parent 1537a3ae
......@@ -4617,7 +4617,7 @@ CREATE TABLE `subboss_attributes` (
`service` varchar(20) NOT NULL default '',
`attrkey` varchar(32) NOT NULL default '',
`attrvalue` tinytext,
PRIMARY KEY (`subboss_id`,`service`)
PRIMARY KEY (`subboss_id`,`service`,`attrkey`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
--
......
......@@ -15,7 +15,7 @@ sub DoUpdate($$$)
"`service` varchar(20) NOT NULL default '', ".
"`attrkey` varchar(32) NOT NULL default '', ".
"`attrvalue` tinytext, ".
"PRIMARY KEY (`subboss_id`,`service`) ".
"PRIMARY KEY (`subboss_id`,`service`,`attrkey`) ".
") ENGINE=MyISAM DEFAULT CHARSET=latin1");
}
return 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment