Browse Source

Prevent default alert group from binding alert plugin instances with id 1 and 2 automatically (#13114)

3.2.0-release
Eric Gao 2 years ago committed by GitHub
parent
commit
d9f43adafd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      dolphinscheduler-dao/src/main/resources/sql/dolphinscheduler_h2.sql
  2. 2
      dolphinscheduler-dao/src/main/resources/sql/dolphinscheduler_mysql.sql
  3. 2
      dolphinscheduler-dao/src/main/resources/sql/dolphinscheduler_postgresql.sql

2
dolphinscheduler-dao/src/main/resources/sql/dolphinscheduler_h2.sql

@ -1021,7 +1021,7 @@ VALUES ('1', '1.4.0');
-- Records of t_ds_alertgroup -- Records of t_ds_alertgroup
-- ---------------------------- -- ----------------------------
INSERT INTO t_ds_alertgroup(alert_instance_ids, create_user_id, group_name, description, create_time, update_time) INSERT INTO t_ds_alertgroup(alert_instance_ids, create_user_id, group_name, description, create_time, update_time)
VALUES ('1,2', 1, 'default admin warning group', 'default admin warning group', '2018-11-29 10:20:39', VALUES (NULL, 1, 'default admin warning group', 'default admin warning group', '2018-11-29 10:20:39',
'2018-11-29 10:20:39'); '2018-11-29 10:20:39');
-- ---------------------------- -- ----------------------------

2
dolphinscheduler-dao/src/main/resources/sql/dolphinscheduler_mysql.sql

@ -1011,7 +1011,7 @@ INSERT IGNORE INTO `t_ds_version` VALUES ('1', '2.0.2');
-- Records of t_ds_alertgroup -- Records of t_ds_alertgroup
-- ---------------------------- -- ----------------------------
INSERT IGNORE INTO `t_ds_alertgroup`(alert_instance_ids, create_user_id, group_name, description, create_time, update_time) INSERT IGNORE INTO `t_ds_alertgroup`(alert_instance_ids, create_user_id, group_name, description, create_time, update_time)
VALUES ('1,2', 1, 'default admin warning group', 'default admin warning group', current_timestamp, current_timestamp); VALUES (NULL, 1, 'default admin warning group', 'default admin warning group', current_timestamp, current_timestamp);
-- ---------------------------- -- ----------------------------
-- Records of t_ds_user -- Records of t_ds_user

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

@ -983,7 +983,7 @@ VALUES ('admin', '7ad2410b2f4c074479a8937a28a22b8f', '0', 'xxx@qq.com', '', '0',
-- Records of t_ds_alertgroup, default admin warning group -- Records of t_ds_alertgroup, default admin warning group
INSERT INTO t_ds_alertgroup(alert_instance_ids, create_user_id, group_name, description, create_time, update_time) INSERT INTO t_ds_alertgroup(alert_instance_ids, create_user_id, group_name, description, create_time, update_time)
VALUES ('1,2', 1, 'default admin warning group', 'default admin warning group', '2018-11-29 10:20:39', '2018-11-29 10:20:39'); VALUES (NULL, 1, 'default admin warning group', 'default admin warning group', '2018-11-29 10:20:39', '2018-11-29 10:20:39');
-- Records of t_ds_queue,default queue name : default -- Records of t_ds_queue,default queue name : default
INSERT INTO t_ds_queue(queue_name, queue, create_time, update_time) INSERT INTO t_ds_queue(queue_name, queue, create_time, update_time)

Loading…
Cancel
Save