CREATE TABLE IF NOT EXISTS `sliderWidget_sliders` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

CREATE TABLE IF NOT EXISTS `sliderWidget_sliders_i18n` (
  `id` int(11) NOT NULL,
  `name` varchar(250) NOT NULL,
  `locale` varchar(5) NOT NULL DEFAULT 'en_US',
  KEY `id` (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;


CREATE TABLE IF NOT EXISTS `sliderWidget_slides` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `sliderId` int(11) NOT NULL,
  `position` int(11) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

CREATE TABLE IF NOT EXISTS `sliderWidget_slides_i18n` (
  `id` int(11) NOT NULL,
  `image` varchar(250) NOT NULL,
  `url` varchar(250) NOT NULL,
  `buttonUrl` varchar(250) NOT NULL,
  `title` varchar(250) NOT NULL,  
  `button` varchar(250) NOT NULL,
  `content` text NOT NULL,
  `locale` varchar(5) NOT NULL DEFAULT 'en_US'
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
