mirror of
https://gitee.com/durcframework/SOP.git
synced 2025-08-11 12:56:28 +08:00
5.0
This commit is contained in:
18
sop.sql
18
sop.sql
@@ -2,7 +2,25 @@
|
||||
CREATE DATABASE IF NOT EXISTS `sop` DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;
|
||||
USE `sop`;
|
||||
|
||||
-- 5.0
|
||||
|
||||
CREATE TABLE `api_info` (
|
||||
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
|
||||
`application` varchar(64) NOT NULL DEFAULT '' COMMENT '应用名称',
|
||||
`api_name` varchar(128) NOT NULL DEFAULT '' COMMENT '接口名称',
|
||||
`api_version` varchar(16) NOT NULL DEFAULT '1.0' COMMENT '版本号',
|
||||
`interface_class_name` varchar(128) NOT NULL DEFAULT '' COMMENT '接口class',
|
||||
`method_name` varchar(128) NOT NULL DEFAULT '' COMMENT '方法名称',
|
||||
`param_class_name` varchar(128) NOT NULL DEFAULT '' COMMENT '参数class',
|
||||
is_ignore_validate tinyint(4) NOT NULL DEFAULT '0' COMMENT '忽略验证',
|
||||
is_permission tinyint(4) NOT NULL DEFAULT '0' COMMENT '接口是否需要授权访问',
|
||||
is_need_Token tinyint(4) NOT NULL DEFAULT '0' COMMENT '是否需要appAuthToken',
|
||||
status tinyint(4) NOT NULL DEFAULT '1' COMMENT '状态,1-启用,0-禁用',
|
||||
`gmt_create` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
`gmt_modified` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
PRIMARY KEY (`id`),
|
||||
UNIQUE KEY `uk_apiname_version` (`api_name`, api_version) USING BTREE
|
||||
) ENGINE=InnoDB COMMENT='接口信息表';
|
||||
|
||||
|
||||
DROP TABLE IF EXISTS `user_info`;
|
||||
|
Reference in New Issue
Block a user