Loading docker/postgres/docker-entrypoint-initdb/init.sql +3 −6 Original line number Diff line number Diff line Loading @@ -191,7 +191,7 @@ CREATE TABLE t_ds_alert ( content text , alert_type int DEFAULT NULL , alert_status int DEFAULT '0' , log text , ·log· text , alertgroup_id int DEFAULT NULL , receivers text , receivers_cc text , Loading Loading @@ -497,10 +497,10 @@ CREATE TABLE t_ds_resources ( update_time timestamp DEFAULT NULL , pid int, full_name varchar(64), is_directory int is_directory int, PRIMARY KEY (id) ) ; ; -- -- Table structure for table t_ds_schedules Loading Loading @@ -685,9 +685,6 @@ ALTER TABLE t_ds_command ALTER COLUMN id SET DEFAULT NEXTVAL('t_ds_command_id_se DROP SEQUENCE IF EXISTS t_ds_datasource_id_sequence; CREATE SEQUENCE t_ds_datasource_id_sequence; ALTER TABLE t_ds_datasource ALTER COLUMN id SET DEFAULT NEXTVAL('t_ds_datasource_id_sequence'); DROP SEQUENCE IF EXISTS t_ds_master_server_id_sequence; CREATE SEQUENCE t_ds_master_server_id_sequence; ALTER TABLE t_ds_master_server ALTER COLUMN id SET DEFAULT NEXTVAL('t_ds_master_server_id_sequence'); DROP SEQUENCE IF EXISTS t_ds_process_definition_id_sequence; CREATE SEQUENCE t_ds_process_definition_id_sequence; ALTER TABLE t_ds_process_definition ALTER COLUMN id SET DEFAULT NEXTVAL('t_ds_process_definition_id_sequence'); Loading sql/dolphinscheduler-postgre.sql +4 −7 Original line number Diff line number Diff line Loading @@ -191,7 +191,7 @@ CREATE TABLE t_ds_alert ( content text , alert_type int DEFAULT NULL , alert_status int DEFAULT '0' , log text , ·log· text , alertgroup_id int DEFAULT NULL , receivers text , receivers_cc text , Loading Loading @@ -497,10 +497,10 @@ CREATE TABLE t_ds_resources ( update_time timestamp DEFAULT NULL , pid int, full_name varchar(64), is_directory int is_directory int, PRIMARY KEY (id) ) ; ; -- -- Table structure for table t_ds_schedules Loading Loading @@ -685,9 +685,6 @@ ALTER TABLE t_ds_command ALTER COLUMN id SET DEFAULT NEXTVAL('t_ds_command_id_se DROP SEQUENCE IF EXISTS t_ds_datasource_id_sequence; CREATE SEQUENCE t_ds_datasource_id_sequence; ALTER TABLE t_ds_datasource ALTER COLUMN id SET DEFAULT NEXTVAL('t_ds_datasource_id_sequence'); DROP SEQUENCE IF EXISTS t_ds_master_server_id_sequence; CREATE SEQUENCE t_ds_master_server_id_sequence; ALTER TABLE t_ds_master_server ALTER COLUMN id SET DEFAULT NEXTVAL('t_ds_master_server_id_sequence'); DROP SEQUENCE IF EXISTS t_ds_process_definition_id_sequence; CREATE SEQUENCE t_ds_process_definition_id_sequence; ALTER TABLE t_ds_process_definition ALTER COLUMN id SET DEFAULT NEXTVAL('t_ds_process_definition_id_sequence'); Loading Loading @@ -762,4 +759,4 @@ INSERT INTO t_ds_relation_user_alertgroup(alertgroup_id,user_id,create_time,upda INSERT INTO t_ds_queue(queue_name,queue,create_time,update_time) VALUES ('default', 'default','2018-11-29 10:22:33', '2018-11-29 10:22:33'); -- Records of t_ds_queue,default queue name : default INSERT INTO t_ds_version(version) VALUES ('1.2.0'); No newline at end of file INSERT INTO t_ds_version(version) VALUES ('2.0.0'); No newline at end of file Loading
docker/postgres/docker-entrypoint-initdb/init.sql +3 −6 Original line number Diff line number Diff line Loading @@ -191,7 +191,7 @@ CREATE TABLE t_ds_alert ( content text , alert_type int DEFAULT NULL , alert_status int DEFAULT '0' , log text , ·log· text , alertgroup_id int DEFAULT NULL , receivers text , receivers_cc text , Loading Loading @@ -497,10 +497,10 @@ CREATE TABLE t_ds_resources ( update_time timestamp DEFAULT NULL , pid int, full_name varchar(64), is_directory int is_directory int, PRIMARY KEY (id) ) ; ; -- -- Table structure for table t_ds_schedules Loading Loading @@ -685,9 +685,6 @@ ALTER TABLE t_ds_command ALTER COLUMN id SET DEFAULT NEXTVAL('t_ds_command_id_se DROP SEQUENCE IF EXISTS t_ds_datasource_id_sequence; CREATE SEQUENCE t_ds_datasource_id_sequence; ALTER TABLE t_ds_datasource ALTER COLUMN id SET DEFAULT NEXTVAL('t_ds_datasource_id_sequence'); DROP SEQUENCE IF EXISTS t_ds_master_server_id_sequence; CREATE SEQUENCE t_ds_master_server_id_sequence; ALTER TABLE t_ds_master_server ALTER COLUMN id SET DEFAULT NEXTVAL('t_ds_master_server_id_sequence'); DROP SEQUENCE IF EXISTS t_ds_process_definition_id_sequence; CREATE SEQUENCE t_ds_process_definition_id_sequence; ALTER TABLE t_ds_process_definition ALTER COLUMN id SET DEFAULT NEXTVAL('t_ds_process_definition_id_sequence'); Loading
sql/dolphinscheduler-postgre.sql +4 −7 Original line number Diff line number Diff line Loading @@ -191,7 +191,7 @@ CREATE TABLE t_ds_alert ( content text , alert_type int DEFAULT NULL , alert_status int DEFAULT '0' , log text , ·log· text , alertgroup_id int DEFAULT NULL , receivers text , receivers_cc text , Loading Loading @@ -497,10 +497,10 @@ CREATE TABLE t_ds_resources ( update_time timestamp DEFAULT NULL , pid int, full_name varchar(64), is_directory int is_directory int, PRIMARY KEY (id) ) ; ; -- -- Table structure for table t_ds_schedules Loading Loading @@ -685,9 +685,6 @@ ALTER TABLE t_ds_command ALTER COLUMN id SET DEFAULT NEXTVAL('t_ds_command_id_se DROP SEQUENCE IF EXISTS t_ds_datasource_id_sequence; CREATE SEQUENCE t_ds_datasource_id_sequence; ALTER TABLE t_ds_datasource ALTER COLUMN id SET DEFAULT NEXTVAL('t_ds_datasource_id_sequence'); DROP SEQUENCE IF EXISTS t_ds_master_server_id_sequence; CREATE SEQUENCE t_ds_master_server_id_sequence; ALTER TABLE t_ds_master_server ALTER COLUMN id SET DEFAULT NEXTVAL('t_ds_master_server_id_sequence'); DROP SEQUENCE IF EXISTS t_ds_process_definition_id_sequence; CREATE SEQUENCE t_ds_process_definition_id_sequence; ALTER TABLE t_ds_process_definition ALTER COLUMN id SET DEFAULT NEXTVAL('t_ds_process_definition_id_sequence'); Loading Loading @@ -762,4 +759,4 @@ INSERT INTO t_ds_relation_user_alertgroup(alertgroup_id,user_id,create_time,upda INSERT INTO t_ds_queue(queue_name,queue,create_time,update_time) VALUES ('default', 'default','2018-11-29 10:22:33', '2018-11-29 10:22:33'); -- Records of t_ds_queue,default queue name : default INSERT INTO t_ds_version(version) VALUES ('1.2.0'); No newline at end of file INSERT INTO t_ds_version(version) VALUES ('2.0.0'); No newline at end of file