Skip to content

Commit

Permalink
fix ldap ext_data too long
Browse files Browse the repository at this point in the history
modify table mw_login_auth column ext_data to varchar(500)
  • Loading branch information
mikya-fff authored Sep 15, 2020
1 parent 470c4a7 commit 474801f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/databases/table.sql
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ CREATE TABLE `mw_login_auth` (
`name` varchar(30) NOT NULL COMMENT '登录认证名称',
`username_prefix` varchar(30) NOT NULL COMMENT '用户名前缀',
`url` varchar(200) NOT NULL COMMENT '认证接口 url',
`ext_data` char(100) NOT NULL DEFAULT '' COMMENT '额外数据: token=aaa&key=bbb',
`ext_data` varchar(500) NOT NULL DEFAULT '' COMMENT '额外数据: token=aaa&key=bbb',
`is_used` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否被使用, 0 默认不使用 1 使用',
`is_delete` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否删除 0 否 1 是',
`create_time` int(11) NOT NULL COMMENT '创建时间',
Expand Down Expand Up @@ -302,4 +302,4 @@ CREATE TABLE `mw_attachment` (
`update_time` int(11) NOT NULL DEFAULT '0' COMMENT '更新时间',
PRIMARY KEY (`attachment_id`),
KEY (`document_id`, `source`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='附件信息表';
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='附件信息表';

0 comments on commit 474801f

Please sign in to comment.