DROP TABLE IF EXISTS `site_plugin_services_cats`;
CREATE TABLE `site_plugin_services_cats` (
  `cat_id` int(11) NOT NULL AUTO_INCREMENT,
  `module_id` int(11) NOT NULL,
  `cat_order` int(11) NOT NULL,
  `cat_status` int(11) NOT NULL,
  `cat_date` int(11) NOT NULL,
  `cat_image` int(11) NOT NULL,
  `cat_tn` int(1) NOT NULL,
  `cat_images` int(11) NOT NULL,
  `cat_icon` varchar(100) NOT NULL,
  `cat_tn_type` int(1) NOT NULL,
  `cat_tn_image` int(1) NOT NULL,
  `cat_tn_icon` varchar(100) NOT NULL,
  `cat_res_type` int(1) NOT NULL,
  `cat_res_image` int(1) NOT NULL,
  `cat_res_youtube` varchar(30) NOT NULL,
  `cat_res_vimeo` varchar(30) NOT NULL,
  `cat_link_type` int(1) NOT NULL,
  `cat_link_module` int(11) NOT NULL,
  `cat_link_target` varchar(10) NOT NULL,
  `cat_link_size` varchar(10) NOT NULL DEFAULT 'btn-small',
  `cat_link_global` int(11) NOT NULL,
  `cat_link_rel` varchar(30) NOT NULL,
  `cat_css_list` varchar(255) NOT NULL,
  `cat_css_details` varchar(255) NOT NULL,
  PRIMARY KEY (`cat_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;


DROP TABLE IF EXISTS `site_plugin_services_cats_lang`;
CREATE TABLE `site_plugin_services_cats_lang` (
  `cat_id` int(11) NOT NULL,
  `module_id` int(11) NOT NULL,
  `lang_id` int(11) NOT NULL,
  `cat_title` varchar(255) NOT NULL,
  `cat_url` varchar(255) NOT NULL,
  `cat_brief` text NOT NULL,
  `cat_description` text NOT NULL,
  `cat_left` text NOT NULL,
  `seo_title` text NOT NULL,
  `seo_desc` text NOT NULL,
  `seo_meta` text NOT NULL,
  `seo_conv_head` text NOT NULL,
  `seo_conv_body` text NOT NULL,
  `cat_tn_alt` varchar(255) NOT NULL,
  `cat_description_title` varchar(255) NOT NULL,
  `cat_link_text` varchar(100) NOT NULL,
  `cat_link_link` text NOT NULL,
  `cat_tn_image_alt` varchar(255) NOT NULL,
  `cat_res_image_alt` varchar(255) NOT NULL,
  KEY `cat_id` (`cat_id`,`module_id`,`lang_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
