From 1102238c1ded4fecb3799c3422588d59934498d7 Mon Sep 17 00:00:00 2001 From: fuchanghai <33984497+fuchanghai@users.noreply.github.com> Date: Thu, 21 Sep 2023 16:34:26 +0800 Subject: [PATCH] Update dolphinscheduler_ddl.sql (#14945) --- .../3.1.6_schema/postgresql/dolphinscheduler_ddl.sql | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dolphinscheduler-dao/src/main/resources/sql/upgrade/3.1.6_schema/postgresql/dolphinscheduler_ddl.sql b/dolphinscheduler-dao/src/main/resources/sql/upgrade/3.1.6_schema/postgresql/dolphinscheduler_ddl.sql index 4a14f326b9..e8baedc05a 100644 --- a/dolphinscheduler-dao/src/main/resources/sql/upgrade/3.1.6_schema/postgresql/dolphinscheduler_ddl.sql +++ b/dolphinscheduler-dao/src/main/resources/sql/upgrade/3.1.6_schema/postgresql/dolphinscheduler_ddl.sql @@ -14,3 +14,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + +ALTER TABLE t_ds_process_definition ADD COLUMN IF NOT EXISTS execution_type int NULL DEFAULT '0'; + +ALTER TABLE t_ds_process_definition_log ADD COLUMN IF NOT EXISTS execution_type int NULL DEFAULT '0'; + +ALTER TABLE t_ds_process_instance ADD COLUMN IF NOT EXISTS next_process_instance_id int NULL DEFAULT '0';