Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
GeoFlyApi
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
GeoFly
GeoFlyApi
Commits
f29e0f4d
Commit
f29e0f4d
authored
Mar 12, 2026
by
tntxia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
用户登录和操作日志的sql脚本
parent
c0c43407
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
0 deletions
+30
-0
sql/operate_record.sql
+22
-0
sql/user_alter.sql
+8
-0
No files found.
sql/operate_record.sql
0 → 100644
View file @
f29e0f4d
SET
NAMES
utf8mb4
;
SET
FOREIGN_KEY_CHECKS
=
0
;
-- ----------------------------
-- Table structure for operate_record
-- ----------------------------
DROP
TABLE
IF
EXISTS
`operate_record`
;
CREATE
TABLE
`operate_record`
(
`id`
int
NOT
NULL
AUTO_INCREMENT
,
`ip`
varchar
(
64
)
CHARACTER
SET
utf8mb4
COLLATE
utf8mb4_general_ci
NULL
DEFAULT
NULL
,
`workspace_id`
varchar
(
64
)
CHARACTER
SET
utf8mb4
COLLATE
utf8mb4_general_ci
NULL
DEFAULT
NULL
,
`user_id`
varchar
(
64
)
CHARACTER
SET
utf8mb4
COLLATE
utf8mb4_general_ci
NULL
DEFAULT
NULL
,
`operating_time`
bigint
NULL
DEFAULT
NULL
,
`operating_type`
varchar
(
32
)
CHARACTER
SET
utf8mb4
COLLATE
utf8mb4_general_ci
NULL
DEFAULT
NULL
,
`operating_param`
text
CHARACTER
SET
utf8mb4
COLLATE
utf8mb4_general_ci
NULL
,
`operating_content`
text
CHARACTER
SET
utf8mb4
COLLATE
utf8mb4_general_ci
NULL
,
`dock_sn`
varchar
(
64
)
CHARACTER
SET
utf8mb4
COLLATE
utf8mb4_general_ci
NULL
DEFAULT
NULL
,
PRIMARY
KEY
(
`id`
)
USING
BTREE
)
ENGINE
=
InnoDB
AUTO_INCREMENT
=
82
CHARACTER
SET
=
utf8mb4
COLLATE
=
utf8mb4_general_ci
ROW_FORMAT
=
DYNAMIC
;
SET
FOREIGN_KEY_CHECKS
=
1
;
sql/user_alter.sql
0 → 100644
View file @
f29e0f4d
ALTER
TABLE
`manage_user`
ADD
COLUMN
`login_try_count`
int
DEFAULT
NULL
COMMENT
'Login Try Count'
AFTER
`role_type`
,
ADD
COLUMN
`phone_number`
varchar
(
255
)
DEFAULT
NULL
COMMENT
'Phone Number'
AFTER
`login_try_count`
,
ADD
COLUMN
`aop_file`
varchar
(
255
)
DEFAULT
NULL
COMMENT
'AOP File'
AFTER
`phone_number`
,
ADD
COLUMN
`email`
varchar
(
255
)
DEFAULT
NULL
COMMENT
'Email'
AFTER
`aop_file`
,
ADD
COLUMN
`new_add`
bit
(
1
)
DEFAULT
NULL
COMMENT
'IF new add user'
AFTER
`email`
,
ADD
COLUMN
`last_change_password`
bigint
DEFAULT
NULL
COMMENT
'Last Change password time'
AFTER
`new_add`
;
\ No newline at end of file
Write
Preview
Markdown
is supported
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