From 050dae7ca4a1b6243fbc0dd9c4018d45e1655566 Mon Sep 17 00:00:00 2001 From: lgcareer <18610854716@163.com> Date: Sat, 9 May 2020 15:02:06 +0800 Subject: [PATCH] update schema version (#2657) * change schema version from 1.2.2 to 1.3.0 * change version value of table t_ds_version from 2.0.0 to 1.3.0 --- docker/postgres/docker-entrypoint-initdb/init.sql | 2 +- sql/dolphinscheduler-postgre.sql | 2 +- sql/dolphinscheduler_mysql.sql | 2 +- .../mysql/dolphinscheduler_ddl.sql | 0 .../mysql/dolphinscheduler_dml.sql | 0 .../postgresql/dolphinscheduler_ddl.sql | 0 .../postgresql/dolphinscheduler_dml.sql | 0 7 files changed, 3 insertions(+), 3 deletions(-) rename sql/upgrade/{1.2.2_schema => 1.3.0_schema}/mysql/dolphinscheduler_ddl.sql (100%) rename sql/upgrade/{1.2.2_schema => 1.3.0_schema}/mysql/dolphinscheduler_dml.sql (100%) rename sql/upgrade/{1.2.2_schema => 1.3.0_schema}/postgresql/dolphinscheduler_ddl.sql (100%) rename sql/upgrade/{1.2.2_schema => 1.3.0_schema}/postgresql/dolphinscheduler_dml.sql (100%) diff --git a/docker/postgres/docker-entrypoint-initdb/init.sql b/docker/postgres/docker-entrypoint-initdb/init.sql index b26520e29c..e9cdc68fb1 100755 --- a/docker/postgres/docker-entrypoint-initdb/init.sql +++ b/docker/postgres/docker-entrypoint-initdb/init.sql @@ -759,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 ('2.0.0'); \ No newline at end of file +INSERT INTO t_ds_version(version) VALUES ('1.3.0'); \ No newline at end of file diff --git a/sql/dolphinscheduler-postgre.sql b/sql/dolphinscheduler-postgre.sql index b26520e29c..e9cdc68fb1 100644 --- a/sql/dolphinscheduler-postgre.sql +++ b/sql/dolphinscheduler-postgre.sql @@ -759,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 ('2.0.0'); \ No newline at end of file +INSERT INTO t_ds_version(version) VALUES ('1.3.0'); \ No newline at end of file diff --git a/sql/dolphinscheduler_mysql.sql b/sql/dolphinscheduler_mysql.sql index 8ff2667f5f..eb85a4dddb 100644 --- a/sql/dolphinscheduler_mysql.sql +++ b/sql/dolphinscheduler_mysql.sql @@ -798,7 +798,7 @@ CREATE TABLE `t_ds_version` ( -- ---------------------------- -- Records of t_ds_version -- ---------------------------- -INSERT INTO `t_ds_version` VALUES ('1', '2.0.0'); +INSERT INTO `t_ds_version` VALUES ('1', '1.3.0'); -- ---------------------------- diff --git a/sql/upgrade/1.2.2_schema/mysql/dolphinscheduler_ddl.sql b/sql/upgrade/1.3.0_schema/mysql/dolphinscheduler_ddl.sql similarity index 100% rename from sql/upgrade/1.2.2_schema/mysql/dolphinscheduler_ddl.sql rename to sql/upgrade/1.3.0_schema/mysql/dolphinscheduler_ddl.sql diff --git a/sql/upgrade/1.2.2_schema/mysql/dolphinscheduler_dml.sql b/sql/upgrade/1.3.0_schema/mysql/dolphinscheduler_dml.sql similarity index 100% rename from sql/upgrade/1.2.2_schema/mysql/dolphinscheduler_dml.sql rename to sql/upgrade/1.3.0_schema/mysql/dolphinscheduler_dml.sql diff --git a/sql/upgrade/1.2.2_schema/postgresql/dolphinscheduler_ddl.sql b/sql/upgrade/1.3.0_schema/postgresql/dolphinscheduler_ddl.sql similarity index 100% rename from sql/upgrade/1.2.2_schema/postgresql/dolphinscheduler_ddl.sql rename to sql/upgrade/1.3.0_schema/postgresql/dolphinscheduler_ddl.sql diff --git a/sql/upgrade/1.2.2_schema/postgresql/dolphinscheduler_dml.sql b/sql/upgrade/1.3.0_schema/postgresql/dolphinscheduler_dml.sql similarity index 100% rename from sql/upgrade/1.2.2_schema/postgresql/dolphinscheduler_dml.sql rename to sql/upgrade/1.3.0_schema/postgresql/dolphinscheduler_dml.sql