DDL
CREATE TABLE `ad_positions` (
`positionId` int(11) NOT NULL AUTO_INCREMENT COMMENT '自增Id',
`position Type` tinyint(4) NOT NULL DEFAULT '0' COMMENT '广告类型(1:电脑端 2:微信端 3:手机端 4:app端 5:小程序端)',
`positionName` varchar(100) NOT NULL COMMENT '广告位置名称',
`positionWidth` int(11) NOT NULL DEFAULT '0' COMMENT '建议宽度',
`positionHeight` int(11) NOT NULL DEFAULT '0' COMMENT '建议高度',
`dataFlag` tinyint(4) NOT NULL DEFAULT '1' COMMENT '有效状态(1:有效 -1:无效)',
`positionCode` varchar(20) DEFAULT NULL COMMENT '广告位置代码(N/A)',
`apSort` int(11) NOT NULL COMMENT '排序号',
PRIMARY KEY (`positionId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='';