DROP TABLE IF EXISTS `site_core_widgets_static`;
CREATE TABLE `site_core_widgets_static` (
  `item_id` int(11) NOT NULL AUTO_INCREMENT,
  `item_order` int(11) NOT NULL,
  `widget_id` int(11) NOT NULL,
  `item_vars` text NOT NULL,
  PRIMARY KEY (`item_id`),
  KEY `widget_id` (`widget_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;


DROP TABLE IF EXISTS `site_core_widgets_static_lang`;
CREATE TABLE `site_core_widgets_static_lang` (
  `item_id` int(11) NOT NULL,
  `widget_id` int(11) NOT NULL,
  `lang_id` int(11) NOT NULL,
  `item_vars_lang` text NOT NULL,
  KEY `item_id` (`item_id`,`lang_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
