Commit e8515e2a by tingweiwang

Delete 20190411.sql

1 parent 43484571
Showing with 0 additions and 44 deletions
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
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!