提交 bddd93cd 编写于 作者: 7 710leo

udpate rdb sql

上级 a659820b
......@@ -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;
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册