SET FOREIGN_KEY_CHECKS=0;

DROP TABLE IF EXISTS `wst_ad_positions`;
CREATE TABLE `wst_ad_positions` (
  `positionId` int(11) NOT NULL AUTO_INCREMENT,
  `positionType` tinyint(4) NOT NULL DEFAULT '0',
  `positionName` varchar(100) NOT NULL,
  `positionWidth` int(11) NOT NULL DEFAULT '0',
  `positionHeight` int(11) NOT NULL DEFAULT '0',
  `dataFlag` tinyint(4) NOT NULL DEFAULT '1',
  `positionCode` varchar(20) DEFAULT NULL,
  `apSort` int(11) NOT NULL,
  PRIMARY KEY (`positionId`),
  KEY `dataFlag` (`positionType`) USING BTREE,
  KEY `positionCode` (`positionCode`)
) ENGINE=InnoDB AUTO_INCREMENT=40 DEFAULT CHARSET=utf8;

INSERT INTO `wst_ad_positions`(positionType,positionName,positionWidth,positionHeight,dataFlag,positionCode,apSort) VALUES 
('1', '首页分层1F左侧广告', '240', '338', '1', 'ads-1-2', '0'),
('1', '首页分层2F左侧广告', '240', '338', '1', 'ads-2-2', '0'),
('1', '首页分层3F左侧广告', '240', '338', '1', 'ads-3-2', '0'),
('1', '首页分层4F左侧广告', '240', '338', '1', 'ads-4-2', '0'),
('1', '首页分层5F左侧广告', '240', '338', '1', 'ads-5-2', '0'),
('1', '首页分层6F左侧广告', '240', '338', '1', 'ads-6-2', '0'),
('1', '首页分层7F左侧广告', '240', '338', '1', 'ads-7-2', '0'),
('1', '首页分层8F左侧广告', '240', '338', '1', 'ads-8-2', '0'),
('1', '首页分层9F左侧广告', '240', '338', '1', 'ads-9-2', '0'),
('1', '首页分层10F左侧广告', '240', '338', '1', 'ads-10-2', '0'),
('1','首页轮播广告','1226','460','1','ads-index','99'),
('1','首页顶部广告','2560','120','1','index-top-ads','100'),
('1','首页轮播下方3个广告','632','340','1','index-three-ads','0'),
('1','登陆广告','1130','588','1','ads-login','0');