CREATE TABLE ?_ad_rotator_places (
  `place_id` int(11) NOT NULL auto_increment,
  `name` varchar(300) NOT NULL default '',
  `describe` text,
  `active` tinyint(4) default NULL,
  PRIMARY KEY  (`place_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

CREATE TABLE ?_ad_rotator_values (
  `id` int(11) NOT NULL auto_increment,
  `place_id` int(11) NOT NULL default '0',
  `value_name` varchar(200) NOT NULL default '',
  `value` varchar(1024) NOT NULL default '',
  `rate` tinyint(4) NOT NULL default '0',
  `active` tinyint(4) default NULL,
  PRIMARY KEY  (`id`),
  KEY `place_id` (`place_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;