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
JSH ERP
Commits
1c94ad68
Commit
1c94ad68
authored
Aug 30, 2021
by
季圣华
Browse files
修改日志表的字段长度
parent
d6c7f119
Changes
2
Hide whitespace changes
Inline
Side-by-side
jshERP-boot/docs/jsh_erp.sql
View file @
1c94ad68
...
@@ -361,7 +361,7 @@ CREATE TABLE `jsh_log` (
...
@@ -361,7 +361,7 @@ CREATE TABLE `jsh_log` (
`id`
bigint
(
20
)
NOT
NULL
AUTO_INCREMENT
COMMENT
'主键'
,
`id`
bigint
(
20
)
NOT
NULL
AUTO_INCREMENT
COMMENT
'主键'
,
`user_id`
bigint
(
20
)
DEFAULT
NULL
COMMENT
'用户id'
,
`user_id`
bigint
(
20
)
DEFAULT
NULL
COMMENT
'用户id'
,
`operation`
varchar
(
500
)
DEFAULT
NULL
COMMENT
'操作模块名称'
,
`operation`
varchar
(
500
)
DEFAULT
NULL
COMMENT
'操作模块名称'
,
`client_ip`
varchar
(
5
0
)
DEFAULT
NULL
COMMENT
'客户端IP'
,
`client_ip`
varchar
(
20
0
)
DEFAULT
NULL
COMMENT
'客户端IP'
,
`create_time`
datetime
DEFAULT
NULL
COMMENT
'创建时间'
,
`create_time`
datetime
DEFAULT
NULL
COMMENT
'创建时间'
,
`status`
tinyint
(
4
)
DEFAULT
NULL
COMMENT
'操作状态 0==成功,1==失败'
,
`status`
tinyint
(
4
)
DEFAULT
NULL
COMMENT
'操作状态 0==成功,1==失败'
,
`content`
varchar
(
1000
)
DEFAULT
NULL
COMMENT
'详情'
,
`content`
varchar
(
1000
)
DEFAULT
NULL
COMMENT
'详情'
,
...
...
jshERP-boot/docs/数据库更新记录-首次安装请勿使用.txt
View file @
1c94ad68
...
@@ -1200,4 +1200,11 @@ INSERT INTO `jsh_function` VALUES ('248', '030150', '调拨明细', '0301', '/re
...
@@ -1200,4 +1200,11 @@ INSERT INTO `jsh_function` VALUES ('248', '030150', '调拨明细', '0301', '/re
-- --------------------------------------------------------
-- --------------------------------------------------------
alter table jsh_tenant add type varchar(1) DEFAULT '0' COMMENT '租户类型,0免费租户,1付费租户' after bills_num_limit;
alter table jsh_tenant add type varchar(1) DEFAULT '0' COMMENT '租户类型,0免费租户,1付费租户' after bills_num_limit;
alter table jsh_tenant drop column bills_num_limit;
alter table jsh_tenant drop column bills_num_limit;
alter table jsh_tenant add expire_time datetime DEFAULT NULL COMMENT '到期时间' after create_time;
alter table jsh_tenant add expire_time datetime DEFAULT NULL COMMENT '到期时间' after create_time;
\ No newline at end of file
-- --------------------------------------------------------
-- 时间 2021年8月29日
-- by jishenghua
-- 给日志表的ip字段改长度
-- --------------------------------------------------------
alter table jsh_log change client_ip client_ip varchar(200) DEFAULT NULL COMMENT '客户端IP';
\ No newline at end of file
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