huiyuanlu opened a new issue #4046:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/4046
**Describe the bug**
/sql/dolphinscheduler-postgre.sql line 786
There is no "state" column in t_ds_user table, when insert data.
**Expected behavior**
The correct sql is
```sql
INSERT INTO
t_ds_user(user_name,user_password,user_type,email,phone,tenant_id,create_time,update_time)
VALUES ('admin', '7ad2410b2f4c074479a8937a28a22b8f', '0', '[email protected]', '',
'0', '2018-03-27 15:48:50', '2018-10-24 17:40:22');
```
**Which version of Dolphin Scheduler:**
-[1.3.2-release]
**Additional context**
```sql
--line 615 - 628
DROP TABLE IF EXISTS t_ds_user;
CREATE TABLE t_ds_user (
id int NOT NULL ,
user_name varchar(64) DEFAULT NULL ,
user_password varchar(64) DEFAULT NULL ,
user_type int DEFAULT NULL ,
email varchar(64) DEFAULT NULL ,
phone varchar(11) DEFAULT NULL ,
tenant_id int DEFAULT NULL ,
create_time timestamp DEFAULT NULL ,
update_time timestamp DEFAULT NULL ,
queue varchar(64) DEFAULT NULL ,
PRIMARY KEY (id)
);
-- line 753
INSERT INTO
t_ds_user(user_name,user_password,user_type,email,phone,tenant_id,state,create_time,update_time)
VALUES ('admin', '7ad2410b2f4c074479a8937a28a22b8f', '0', '[email protected]', '',
'0', 1, '2018-03-27 15:48:50', '2018-10-24 17:40:22');
```
**Requirement or improvement**
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]