DROP TABLE IF EXISTS `site_core_widgets_cards`;
CREATE TABLE IF NOT EXISTS `site_core_widgets_cards` (
  `item_id` int(11) NOT NULL AUTO_INCREMENT,
  `widget_id` int(11) NOT NULL,
  `item_order` int(11) NOT NULL,
  `item_icon` varchar(50) NOT NULL,
  `icon_flip` int(1) NOT NULL,
  `item_type` int(2) NOT NULL,
  `item_image` int(1) NOT NULL,
  `item_youtube` varchar(50) NOT NULL,
  `item_vimeo` varchar(50) NOT NULL,
  `item_link_type` int(1) NOT NULL,
  `item_link_module` int(11) NOT NULL,
  `item_link_target` varchar(10) NOT NULL,
  PRIMARY KEY (`item_id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;

DROP TABLE IF EXISTS `site_core_widgets_cards_lang`;
CREATE TABLE IF NOT EXISTS `site_core_widgets_cards_lang` (
  `item_id` int(11) NOT NULL,
  `lang_id` int(11) NOT NULL,
  `item_title` varchar(255) NOT NULL,
  `item_desc` text NOT NULL,
  `item_image_alt` varchar(255) NOT NULL,
  `item_flip_title` varchar(255) NOT NULL,
  `item_flip_desc` text NOT NULL,
  `item_link_text` varchar(100) NOT NULL,
  `item_link_link` text NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

