/* Navicat MySQL Data Transfer Source Server : localhost_3306 Source Server Version : 50540 Source Host : localhost:3306 Source Database : building Target Server Type : MYSQL Target Server Version : 50540 File Encoding : 65001 Date: 2017-07-27 10:37:50 */ SET FOREIGN_KEY_CHECKS=0; -- ---------------------------- -- Table structure for bd_advert -- ---------------------------- DROP TABLE IF EXISTS `bd_advert`; CREATE TABLE `bd_advert` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(64) DEFAULT NULL COMMENT '图片名称', `link` varchar(255) DEFAULT NULL COMMENT '链接地址', `imgurl` text NOT NULL COMMENT '广告图片/内容', `orderby` smallint(6) DEFAULT '10', `created_at` int(11) DEFAULT '0' COMMENT '添加时间', `updated_at` int(11) DEFAULT NULL COMMENT '修改时间', `created_author` int(11) DEFAULT NULL, `click_count` mediumint(8) DEFAULT '0', `status` tinyint(4) DEFAULT '0', `updated_author` int(11) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=utf8 COMMENT='广告表';