Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
P
project-credit
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 2
    • Issues 2
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • 互联网应用开发
  • project-credit
  • Wiki
  • db

db · Changes

Page history
xiaolong.jin created page: db authored Sep 18, 2016 by 金小龙's avatar 金小龙
Hide whitespace changes
Inline Side-by-side
Showing with 8 additions and 8 deletions
+8 -8
  • db.md db.md +8 -8
  • No files found.
db.md
View page @ f4e6ede5
* 接口相关表
接口相关表
```
CREATE TABLE `api` (
`id` int(11) NOT NULL AUTO_INCREMENT,
......@@ -58,7 +58,7 @@ CREATE TABLE `api_log_statistics` (
UNIQUE KEY `idx_utd` (`user_id`,`api_id`,`data_key`,`time_type`,`time_index`)
) ENGINE=InnoDB AUTO_INCREMENT=13257 DEFAULT CHARSET=utf8;
```
* 基础信息表
基础信息表
```
CREATE TABLE `base_info` (
`id` int(11) NOT NULL AUTO_INCREMENT,
......@@ -102,7 +102,7 @@ INSERT INTO personal_credit.base_info (pid, info, code) VALUES (2, '大陆居民
INSERT INTO personal_credit.base_info (pid, info, code) VALUES (2, '因公往来香港澳门特别行政区通行证', 518);
INSERT INTO personal_credit.base_info (pid, info, code) VALUES (2, '边境管理区通行证', 711);
```
* 通知表
通知表
```
CREATE TABLE `notice` (
`id` int(11) NOT NULL AUTO_INCREMENT,
......@@ -127,7 +127,7 @@ CREATE TABLE `notice_template` (
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 COMMENT='通知模板';
```
帮助信息表
```
CREATE TABLE `support` (
`id` mediumint(9) NOT NULL AUTO_INCREMENT,
......@@ -140,7 +140,7 @@ CREATE TABLE `support` (
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=66 DEFAULT CHARSET=utf8;
```
用户表
```
CREATE TABLE `user` (
`id` int(11) NOT NULL AUTO_INCREMENT,
......@@ -171,7 +171,7 @@ CREATE TABLE `user_statistics` (
UNIQUE KEY `idx_tkv` (`time_index`,`time_type`,`data_key`)
) ENGINE=InnoDB AUTO_INCREMENT=37 DEFAULT CHARSET=utf8;
```
账户表
```
CREATE TABLE `user_account` (
`id` int(11) NOT NULL AUTO_INCREMENT,
......@@ -210,7 +210,7 @@ CREATE TABLE `user_account_log_statistics` (
UNIQUE KEY `idx_utd` (`user_id`,`data_key`,`time_index`)
) ENGINE=InnoDB AUTO_INCREMENT=42 DEFAULT CHARSET=utf8;
```
用户接口关系表
```
CREATE TABLE `user_api` (
`id` int(11) NOT NULL AUTO_INCREMENT,
......@@ -237,7 +237,7 @@ CREATE TABLE `user_api_log` (
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=utf8;
```
白名单表
```
CREATE TABLE `user_ip_whitelist` (
`id` int(11) NOT NULL AUTO_INCREMENT,
......
Clone repository
  • api
  • crontab
  • db
  • doc
  • files
  • Home
  • sql