CREATE TABLE IF NOT EXISTS `PREFIX_gmc_tags` (`id_tag` int(11) NOT NULL AUTO_INCREMENT, `id_shop` int(11) NOT NULL DEFAULT "1", `name` char(255) NOT NULL, `type` char(255) NOT NULL, PRIMARY KEY (`id_tag`)) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1;
CREATE TABLE IF NOT EXISTS `PREFIX_gmc_tags_brands` (`id_tag` int(11) NOT NULL, `id_brand` int(11) NOT NULL, UNIQUE KEY `tag_brand` (`id_tag`,`id_brand`)) ENGINE=MyISAM DEFAULT CHARSET=utf8;
CREATE TABLE IF NOT EXISTS `PREFIX_gmc_tags_cats` (`id_tag` int(11) NOT NULL, `id_category` int(11) NOT NULL, UNIQUE KEY `tag_cat` (`id_tag`,`id_category`)) ENGINE=MyISAM DEFAULT CHARSET=utf8;
CREATE TABLE IF NOT EXISTS `PREFIX_gmc_tags_suppliers` (`id_tag` int(11) NOT NULL, `id_supplier` int(11) NOT NULL, UNIQUE KEY `tag_supplier` (`id_tag`,`id_supplier`)) ENGINE=MyISAM DEFAULT CHARSET=utf8;