Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
tingweiwang
/
ksy-project-docking
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit e8515e2a
authored
Sep 02, 2020
by
tingweiwang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Delete 20190411.sql
1 parent
43484571
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
44 deletions
sql/user-center-backend-sql/20190411.sql
sql/user-center-backend-sql/20190411.sql
deleted
100644 → 0
View file @
4348457
use
`user-center`
;
create
table
`user-center`
.
user_info
(
id
int
unsigned
auto_increment
,
username
varchar
(
256
)
charset
utf8
not
null
,
nickname
varchar
(
255
)
charset
utf8
null
,
signature
varchar
(
255
)
charset
utf8
null
,
email
varchar
(
255
)
charset
utf8
null
,
profile_image_url
varchar
(
255
)
charset
utf8
null
,
phone
varchar
(
11
)
charset
utf8
null
,
password
varchar
(
255
)
charset
utf8
null
,
created_at
datetime
null
,
updated_at
datetime
null
,
local_server_token
varchar
(
255
)
charset
utf8mb4
null
,
is_admin
tinyint
default
'0'
null
,
constraint
users_userinfo_id_uindex
unique
(
id
)
);
alter
table
`user-center`
.
user_info
add
primary
key
(
id
);
create
table
`user-center`
.
app_info
(
id
int
auto_increment
,
app_name
varchar
(
255
)
not
null
,
host
varchar
(
255
)
not
null
,
created_at
datetime
null
,
constraint
service_info_id_uindex
unique
(
id
)
);
alter
table
`user-center`
.
app_info
add
primary
key
(
id
);
ALTER
TABLE
user_info
ADD
sha1_password
varchar
(
255
)
NULL
;
ALTER
TABLE
user_info
DROP
nickname
;
ALTER
TABLE
user_info
DROP
signature
;
ALTER
TABLE
user_info
DROP
profile_image_url
;
ALTER
TABLE
user_info
DROP
local_server_token
;
ALTER
TABLE
user_info
DROP
is_admin
;
\ No newline at end of file
Write
Preview
Markdown
is supported
Attach a file
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 post a comment