Showing
1 changed file
with
17 additions
and
0 deletions
1 | +## 1.数据库(yhb_operations) | ||
2 | +### 1.1 帮助分类(yhb_operations.help_category) | ||
3 | +#### sql 脚本 | ||
4 | +```sql | ||
5 | +CREATE TABLE `help_category` ( | ||
6 | + `id` smallint(5) unsigned NOT NULL AUTO_INCREMENT, | ||
7 | + `category_name` varchar(50) DEFAULT NULL, | ||
8 | + `parent_id` smallint(5) unsigned NOT NULL DEFAULT '0', | ||
9 | + `platform` varchar(50) NOT NULL COMMENT 'iphone ios手机\n android 安卓手机 \n ipad ios平板 \n androidpad 安卓平板 \n h5 手机网站 \n web pc网站', | ||
10 | + `create_time` int(10) unsigned NOT NULL DEFAULT '0', | ||
11 | + `update_time` int(10) unsigned NOT NULL DEFAULT '0', | ||
12 | + `status` tinyint(4) NOT NULL DEFAULT '1' COMMENT '1、正常 2、已删除', | ||
13 | + PRIMARY KEY (`id`) | ||
14 | +) ENGINE=InnoDB AUTO_INCREMENT=50 DEFAULT CHARSET=utf8; | ||
15 | + | ||
16 | +``` | ||
17 | +#### 说明:增加标识字段status 1 表示正常记录 2 表示已删除记录 |
-
Please register or login to post a comment