Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
xyqb-user2
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
head_group
xyqb-user2
Commits
e6eff217
Commit
e6eff217
authored
Jan 17, 2022
by
killer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
销户
parent
f2b57e46
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
6 deletions
+29
-6
user.sql
src/main/resources/static/sql/user.sql
+29
-6
No files found.
src/main/resources/static/sql/user.sql
View file @
e6eff217
-- 身份证号,姓名,地址长度修改
alter
table
xyqb_user
.
user_detail
modify
column
id_no
varchar
(
128
)
default
''
comment
'身份证号'
,
modify
column
name
varchar
(
128
)
default
''
comment
'真实姓名'
;
alter
table
xyqb_user
.
user_authorized
modify
column
id_no
varchar
(
128
)
default
''
comment
'身份证号'
,
modify
column
name
varchar
(
128
)
default
''
comment
'用户姓名'
;
alter
table
xyqb_user
.
user_modify_phone_no
modify
column
id_card
varchar
(
128
)
default
''
comment
'身份证号'
,
modify
column
name
varchar
(
128
)
default
''
comment
'注册人真实姓名'
;
alter
table
xyqb_user
.
contact
modify
column
name
varchar
(
128
)
default
''
comment
'用户姓名'
;
alter
table
xyqb_user
.
user_spouse
modify
column
spouse_name
varchar
(
128
)
default
''
comment
'配偶姓名'
;
alter
table
xyqb_user
.
address
modify
column
province
varchar
(
128
)
default
''
comment
'省'
,
modify
column
city
varchar
(
128
)
default
''
comment
'市'
,
modify
column
district
varchar
(
128
)
default
''
comment
'区'
,
modify
column
address
varchar
(
255
)
default
''
comment
'详细地址'
;
#
销户需求
-- http://confluence.quantgroup.cn/pages/viewpage.action?pageId=61677003
CREATE
TABLE
`user_deregister_record`
(
`id`
bigint
(
20
)
NOT
NULL
AUTO_INCREMENT
COMMENT
'主键ID'
,
`user_id`
bigint
(
20
)
NOT
NULL
COMMENT
'用户ID'
,
`phone_no`
varchar
(
255
)
NOT
NULL
COMMENT
'手机号MD5值'
,
`password`
varchar
(
128
)
DEFAULT
''
NULL
COMMENT
'密码'
,
`registered_from`
bigint
(
20
)
DEFAULT
0
null
COMMENT
'渠道ID'
,
`id`
bigint
(
20
)
NOT
NULL
AUTO_INCREMENT
COMMENT
'主键ID'
,
`user_id`
bigint
(
20
)
NOT
NULL
COMMENT
'用户ID'
,
`phone_no`
varchar
(
255
)
NOT
NULL
COMMENT
'手机号MD5值'
,
`password`
varchar
(
128
)
DEFAULT
''
NULL
COMMENT
'密码'
,
`registered_from`
bigint
(
20
)
DEFAULT
0
null
COMMENT
'渠道ID'
,
`uuid`
varchar
(
64
)
DEFAULT
''
COMMENT
'uuid'
,
`deregister_time`
DATETIME
NOT
NULL
DEFAULT
CURRENT_TIMESTAMP
COMMENT
'销户时间'
,
`deregister_time`
DATETIME
NOT
NULL
DEFAULT
CURRENT_TIMESTAMP
COMMENT
'销户时间'
,
`created_at`
timestamp
default
CURRENT_TIMESTAMP
not
null
comment
'创建时间'
,
`updated_at`
timestamp
default
CURRENT_TIMESTAMP
not
null
on
update
CURRENT_TIMESTAMP
comment
'更新时间'
,
PRIMARY
KEY
(
`id`
),
KEY
`idx_user_id`
(
`user_id`
)
USING
BTREE
,
KEY
`idx_delete_time`
(
`deregister_time`
)
...
...
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