CREATE TABLE `fa_article` ( `id` int unsigned NOT NULL AUTO_INCREMENT, `category_id` int NOT NULL DEFAULT '0' COMMENT '分类ID', `title` varchar(100) NOT NULL DEFAULT '' COMMENT '标题', `image` varchar(255) NOT NULL DEFAULT '' COMMENT '封面图', `content` text COMMENT '内容', `views` int NOT NULL DEFAULT '0' COMMENT '浏览量', `status` enum('0','1') NOT NULL DEFAULT '1' COMMENT '状态:0=隐藏,1=显示', `weigh` int NOT NULL DEFAULT '0' COMMENT '权重', `createtime` int DEFAULT NULL COMMENT '创建时间', `updatetime` int DEFAULT NULL COMMENT '更新时间', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='文章表';