udpate rdb sql
This commit is contained in:
parent
a659820b07
commit
bddd93cd80
|
@ -17,6 +17,8 @@ CREATE TABLE `user`
|
|||
`portrait` varchar(2048) not null default '',
|
||||
`intro` varchar(2048) not null default '',
|
||||
`organization` varchar(255) not null default '',
|
||||
`typ` tinyint(1) not null default 1 comment '0: temporary account; 1: long-term account'
|
||||
`status` tinyint(1) not null default 1 comment '0: disabled; 1: active 2: inactive'
|
||||
`is_root` tinyint(1) not null,
|
||||
`leader_id` int unsigned not null default 0,
|
||||
`leader_name` varchar(32) not null default '',
|
||||
|
|
|
@ -33,5 +33,5 @@ alter table user add column create_at timestamp not null default CURRENT_TIMESTA
|
|||
update user set create_at = '2020-11-14 17:00:08';
|
||||
|
||||
alter table user add `organization` varchar(255) not null default '' after intro;
|
||||
alter table user add `typ` int(1) not null default 1 comment '0: temporary account; 1: long-term account' after intro;
|
||||
alter table user add `status` int(1) not null default 1 comment '0: disabled; 1: active 2: inactive' after intro;
|
||||
alter table user add `typ` tinyint(1) not null default 1 comment '0: temporary account; 1: long-term account' after intro;
|
||||
alter table user add `status` tinyint(1) not null default 1 comment '0: disabled; 1: active 2: inactive' after intro;
|
||||
|
|
Loading…
Reference in New Issue