Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
RuoYi Vue
Commits
b7a36bfe
Commit
b7a36bfe
authored
Feb 10, 2021
by
RuoYi
Browse files
修改ip字段长度防止ipv6地址长度不够
parent
3a51c538
Changes
1
Hide whitespace changes
Inline
Side-by-side
sql/ry_2021010
8
.sql
→
sql/ry_20210
2
10.sql
View file @
b7a36bfe
...
...
@@ -52,7 +52,7 @@ create table sys_user (
password
varchar
(
100
)
default
''
comment
'密码'
,
status
char
(
1
)
default
'0'
comment
'帐号状态(0正常 1停用)'
,
del_flag
char
(
1
)
default
'0'
comment
'删除标志(0代表存在 2代表删除)'
,
login_ip
varchar
(
50
)
default
''
comment
'最后登录IP'
,
login_ip
varchar
(
128
)
default
''
comment
'最后登录IP'
,
login_date
datetime
comment
'最后登录时间'
,
create_by
varchar
(
64
)
default
''
comment
'创建者'
,
create_time
datetime
comment
'创建时间'
,
...
...
@@ -421,7 +421,7 @@ create table sys_oper_log (
oper_name
varchar
(
50
)
default
''
comment
'操作人员'
,
dept_name
varchar
(
50
)
default
''
comment
'部门名称'
,
oper_url
varchar
(
255
)
default
''
comment
'请求URL'
,
oper_ip
varchar
(
50
)
default
''
comment
'主机地址'
,
oper_ip
varchar
(
128
)
default
''
comment
'主机地址'
,
oper_location
varchar
(
255
)
default
''
comment
'操作地点'
,
oper_param
varchar
(
2000
)
default
''
comment
'请求参数'
,
json_result
varchar
(
2000
)
default
''
comment
'返回参数'
,
...
...
@@ -546,7 +546,7 @@ drop table if exists sys_logininfor;
create
table
sys_logininfor
(
info_id
bigint
(
20
)
not
null
auto_increment
comment
'访问ID'
,
user_name
varchar
(
50
)
default
''
comment
'用户账号'
,
ipaddr
varchar
(
50
)
default
''
comment
'登录IP地址'
,
ipaddr
varchar
(
128
)
default
''
comment
'登录IP地址'
,
login_location
varchar
(
255
)
default
''
comment
'登录地点'
,
browser
varchar
(
50
)
default
''
comment
'浏览器类型'
,
os
varchar
(
50
)
default
''
comment
'操作系统'
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment