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_i18n` (
  `id` int(11) 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;


INSERT INTO `sliderWidget_sliders_i18n` ( `id`, `name` ) SELECT `id`, `name` FROM `sliderWidget_sliders`;
INSERT INTO `sliderWidget_slides_i18n` ( `id`, `title`, `button`, `content` ) SELECT `id`, `title`, `button`, `content` FROM `sliderWidget_slides`;

ALTER TABLE `sliderWidget_sliders` DROP `name`;
ALTER TABLE `sliderWidget_slides` DROP `title`, DROP `button`, DROP `content`;