You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

14 line
662 B

  1. -- 单页内容表
  2. CREATE TABLE IF NOT EXISTS `pap_page` (
  3. `id` int(11) NOT NULL AUTO_INCREMENT,
  4. `column_id` int(11) NOT NULL DEFAULT 0 COMMENT '所属栏目ID',
  5. `content` longtext COMMENT '页面内容',
  6. `status` tinyint(1) DEFAULT 1 COMMENT '状态 1已发布 0草稿',
  7. `is_deleted` tinyint(1) DEFAULT 0 COMMENT '删除标记',
  8. `create_time` datetime DEFAULT CURRENT_TIMESTAMP,
  9. `update_time` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  10. `update_by` varchar(50) DEFAULT '' COMMENT '最后更新人',
  11. PRIMARY KEY (`id`),
  12. UNIQUE KEY `idx_column` (`column_id`)
  13. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='单页内容';