From d5430256c7d14149901b227ae3d68dae51b23d69 Mon Sep 17 00:00:00 2001 From: 710leo <710leo@gmail.com> Date: Fri, 20 Nov 2020 18:21:10 +0800 Subject: [PATCH] fix rdb sql --- sql/n9e_rdb_3.3.0.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sql/n9e_rdb_3.3.0.sql b/sql/n9e_rdb_3.3.0.sql index f2523414..949994f6 100644 --- a/sql/n9e_rdb_3.3.0.sql +++ b/sql/n9e_rdb_3.3.0.sql @@ -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` tinyint(1) not null default 1 comment '0: long-term account; 1: temporary account' after intro; -alter table user add `status` tinyint(1) not null default 1 comment '0: active; 1: inactive 2: disable' after intro; +alter table user add `typ` tinyint(1) not null default 0 comment '0: long-term account; 1: temporary account' after intro; +alter table user add `status` tinyint(1) not null default 0 comment '0: active; 1: inactive 2: disable' after intro;