Browse Source

[BUG-7779][SQL] fix syntax error in init sql of postgre (#7782)

fix syntax error of table `t_ds_task_definition` and `t_ds_task_definition_log` in postgresql with column `task_group_priority int(4)`
天仇 3 years ago
parent
commit
4662e6d929

+ 2 - 2
dolphinscheduler-dao/src/main/resources/sql/dolphinscheduler_postgresql.sql

@@ -392,7 +392,7 @@ CREATE TABLE t_ds_task_definition (
   timeout int DEFAULT '0' ,
   delay_time int DEFAULT '0' ,
   task_group_id int DEFAULT NULL,
-  task_group_priority int(4) DEFAULT '0',
+  task_group_priority int DEFAULT '0',
   resource_ids text ,
   create_time timestamp DEFAULT NULL ,
   update_time timestamp DEFAULT NULL ,
@@ -429,7 +429,7 @@ CREATE TABLE t_ds_task_definition_log (
   resource_ids text ,
   operator int DEFAULT NULL ,
   task_group_id int DEFAULT NULL,
-  task_group_priority int(4) DEFAULT '0',
+  task_group_priority int DEFAULT '0',
   operate_time timestamp DEFAULT NULL ,
   create_time timestamp DEFAULT NULL ,
   update_time timestamp DEFAULT NULL ,