   `mw` varchar(31) default NULL,
   `toolid` int(11) default NULL,
   `priority` int(11) NULL,
-  PRIMARY KEY  (`id`)
+  PRIMARY KEY  (`id`),
+  UNIQUE KEY `toolname` (`toolname`,`instance`)
 ) TYPE=MyISAM CHARACTER SET `utf8`;
 
 # --------------------------------------------------------

  KEY `mid` (`mid`),
  KEY `uid` (`uid`)
) TYPE=MyISAM CHARACTER SET `utf8`;

	state      	int(3) NOT NULL DEFAULT '0',
	public     	int(3) NOT NULL DEFAULT '1',
	description	varchar(255) NULL,
	type		int(11) NULL DEFAULT '0',
	PRIMARY KEY(id)
) TYPE=MyISAM CHARACTER SET `utf8`;

