Advertisement
-KARMA-

Untitled

Jun 10th, 2024 (edited)
850
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PostgreSQL 7.58 KB | Software | 0 0
  1. #Updating Zabbix from version 6.0.XX to 7.0.XX
  2. #For those who accidentally imported schema.sql from the postgres user!
  3. ALTER FUNCTION changelog_hosts_insert() OWNER TO zabbix;
  4. ALTER FUNCTION changelog_hosts_update() OWNER TO zabbix;
  5. ALTER FUNCTION changelog_hosts_delete() OWNER TO zabbix;
  6. ALTER FUNCTION changelog_drules_insert() OWNER TO zabbix;
  7. ALTER FUNCTION changelog_drules_update() OWNER TO zabbix;
  8. ALTER FUNCTION changelog_drules_delete() OWNER TO zabbix;
  9. ALTER FUNCTION changelog_dchecks_insert() OWNER TO zabbix;
  10. ALTER FUNCTION changelog_dchecks_update() OWNER TO zabbix;
  11. ALTER FUNCTION changelog_dchecks_delete() OWNER TO zabbix;
  12. ALTER FUNCTION changelog_httptest_insert() OWNER TO zabbix;
  13. ALTER FUNCTION changelog_httptest_update() OWNER TO zabbix;
  14. ALTER FUNCTION changelog_httptest_delete() OWNER TO zabbix;
  15. ALTER FUNCTION changelog_httpstep_insert() OWNER TO zabbix;
  16. ALTER FUNCTION changelog_httpstep_update() OWNER TO zabbix;
  17. ALTER FUNCTION changelog_httpstep_delete() OWNER TO zabbix;
  18. ALTER FUNCTION changelog_items_insert() OWNER TO zabbix;
  19. ALTER FUNCTION changelog_items_update() OWNER TO zabbix;
  20. ALTER FUNCTION changelog_items_delete() OWNER TO zabbix;
  21. ALTER FUNCTION changelog_httpstepitem_insert() OWNER TO zabbix;
  22. ALTER FUNCTION changelog_httpstepitem_update() OWNER TO zabbix;
  23. ALTER FUNCTION changelog_httpstepitem_delete() OWNER TO zabbix;
  24. ALTER FUNCTION changelog_httptestitem_insert() OWNER TO zabbix;
  25. ALTER FUNCTION changelog_httptestitem_update() OWNER TO zabbix;
  26. ALTER FUNCTION changelog_httptestitem_delete() OWNER TO zabbix;
  27. ALTER FUNCTION changelog_triggers_insert() OWNER TO zabbix;
  28. ALTER FUNCTION changelog_triggers_update() OWNER TO zabbix;
  29. ALTER FUNCTION changelog_triggers_delete() OWNER TO zabbix;
  30. ALTER FUNCTION changelog_functions_insert() OWNER TO zabbix;
  31. ALTER FUNCTION changelog_functions_update() OWNER TO zabbix;
  32. ALTER FUNCTION changelog_functions_delete() OWNER TO zabbix;
  33. ALTER FUNCTION changelog_trigger_tag_insert() OWNER TO zabbix;
  34. ALTER FUNCTION changelog_trigger_tag_update() OWNER TO zabbix;
  35. ALTER FUNCTION changelog_trigger_tag_delete() OWNER TO zabbix;
  36. ALTER FUNCTION changelog_item_preproc_insert() OWNER TO zabbix;
  37. ALTER FUNCTION changelog_item_preproc_update() OWNER TO zabbix;
  38. ALTER FUNCTION changelog_item_preproc_delete() OWNER TO zabbix;
  39. ALTER FUNCTION changelog_httptest_field_insert() OWNER TO zabbix;
  40. ALTER FUNCTION changelog_httptest_field_update() OWNER TO zabbix;
  41. ALTER FUNCTION changelog_httptest_field_delete() OWNER TO zabbix;
  42. ALTER FUNCTION changelog_httpstep_field_insert() OWNER TO zabbix;
  43. ALTER FUNCTION changelog_httpstep_field_update() OWNER TO zabbix;
  44. ALTER FUNCTION changelog_httpstep_field_delete() OWNER TO zabbix;
  45. ALTER FUNCTION changelog_host_tag_insert() OWNER TO zabbix;
  46. ALTER FUNCTION changelog_host_tag_update() OWNER TO zabbix;
  47. ALTER FUNCTION changelog_host_tag_delete() OWNER TO zabbix;
  48. ALTER FUNCTION changelog_item_tag_insert() OWNER TO zabbix;
  49. ALTER FUNCTION changelog_item_tag_update() OWNER TO zabbix;
  50. ALTER FUNCTION changelog_item_tag_delete() OWNER TO zabbix;
  51. ALTER FUNCTION changelog_connector_insert() OWNER TO zabbix;
  52. ALTER FUNCTION changelog_connector_update() OWNER TO zabbix;
  53. ALTER FUNCTION changelog_connector_delete() OWNER TO zabbix;
  54. ALTER FUNCTION changelog_connector_tag_insert() OWNER TO zabbix;
  55. ALTER FUNCTION changelog_connector_tag_update() OWNER TO zabbix;
  56. ALTER FUNCTION changelog_connector_tag_delete() OWNER TO zabbix;
  57. ALTER FUNCTION changelog_proxy_insert() OWNER TO zabbix;
  58. ALTER FUNCTION changelog_proxy_update() OWNER TO zabbix;
  59. ALTER FUNCTION changelog_proxy_delete() OWNER TO zabbix;
  60. ALTER FUNCTION changelog_proxy_group_insert() OWNER TO zabbix;
  61. ALTER FUNCTION changelog_proxy_group_update() OWNER TO zabbix;
  62. ALTER FUNCTION changelog_proxy_group_delete() OWNER TO zabbix;
  63. ALTER FUNCTION changelog_host_proxy_insert() OWNER TO zabbix;
  64. ALTER FUNCTION changelog_host_proxy_update() OWNER TO zabbix;
  65. ALTER FUNCTION changelog_host_proxy_delete() OWNER TO zabbix;
  66. DROP TRIGGER hosts_insert ON hosts;
  67. DROP TRIGGER hosts_update ON hosts;
  68. DROP TRIGGER hosts_delete ON hosts;
  69. DROP TRIGGER hosts_name_upper_insert ON insert;
  70. DROP TRIGGER hosts_name_upper_update ON update;
  71. DROP TRIGGER drules_insert ON drules;
  72. DROP TRIGGER drules_update ON drules;
  73. DROP TRIGGER drules_delete ON drules;
  74. DROP TRIGGER dchecks_insert ON dchecks;
  75. DROP TRIGGER dchecks_update ON dchecks;
  76. DROP TRIGGER dchecks_delete ON dchecks;
  77. DROP TRIGGER httptest_insert ON httptest;
  78. DROP TRIGGER httptest_update ON httptest;
  79. DROP TRIGGER httptest_delete ON httptest;
  80. DROP TRIGGER httpstep_insert ON httpstep;
  81. DROP TRIGGER httpstep_update ON httpstep;
  82. DROP TRIGGER httpstep_delete ON httpstep;
  83. DROP TRIGGER items_insert ON items;
  84. DROP TRIGGER items_update ON items;
  85. DROP TRIGGER items_delete ON items;
  86. DROP TRIGGER httpstepitem_insert ON httpstepitem;
  87. DROP TRIGGER httpstepitem_update ON httpstepitem;
  88. DROP TRIGGER httpstepitem_delete ON httpstepitem;
  89. DROP TRIGGER httptestitem_insert ON httptestitem;
  90. DROP TRIGGER httptestitem_update ON httptestitem;
  91. DROP TRIGGER httptestitem_delete ON httptestitem;
  92. DROP TRIGGER triggers_insert ON triggers;
  93. DROP TRIGGER triggers_update ON triggers;
  94. DROP TRIGGER triggers_delete ON triggers;
  95. DROP TRIGGER functions_insert ON functions;
  96. DROP TRIGGER functions_update ON functions;
  97. DROP TRIGGER functions_delete ON functions;
  98. DROP TRIGGER trigger_tag_insert ON trigger_tag;
  99. DROP TRIGGER trigger_tag_update ON trigger_tag;
  100. DROP TRIGGER trigger_tag_delete ON trigger_tag;
  101. DROP TRIGGER item_preproc_insert ON item_preproc;
  102. DROP TRIGGER item_preproc_update ON item_preproc;
  103. DROP TRIGGER item_preproc_delete ON item_preproc;
  104. DROP TRIGGER httptest_field_insert ON httptest_field;
  105. DROP TRIGGER httptest_field_update ON httptest_field;
  106. DROP TRIGGER httptest_field_delete ON httptest_field;
  107. DROP TRIGGER httpstep_field_insert ON httpstep_field;
  108. DROP TRIGGER httpstep_field_update ON httpstep_field;
  109. DROP TRIGGER httpstep_field_delete ON httpstep_field;
  110. DROP TRIGGER host_tag_insert ON host_tag;
  111. DROP TRIGGER host_tag_update ON host_tag;
  112. DROP TRIGGER host_tag_delete ON host_tag;
  113. DROP TRIGGER item_tag_insert ON item_tag;
  114. DROP TRIGGER item_tag_update ON item_tag;
  115. DROP TRIGGER item_tag_delete ON item_tag;
  116. DROP TRIGGER connector_insert ON connector;
  117. DROP TRIGGER connector_update ON connector;
  118. DROP TRIGGER connector_delete ON connector;
  119. DROP TRIGGER connector_tag_insert ON connector_tag;
  120. DROP TRIGGER connector_tag_update ON connector_tag;
  121. DROP TRIGGER connector_tag_delete ON connector_tag;
  122. DROP TRIGGER proxy_insert ON proxy;
  123. DROP TRIGGER proxy_update ON proxy;
  124. DROP TRIGGER proxy_delete ON proxy;
  125. DROP TRIGGER proxy_group_insert ON proxy_group;
  126. DROP TRIGGER proxy_group_update ON proxy_group;
  127. DROP TRIGGER proxy_group_delete ON proxy_group;
  128. DROP TRIGGER host_proxy_insert ON host_proxy;
  129. DROP TRIGGER host_proxy_update ON host_proxy;
  130. DROP TRIGGER host_proxy_delete ON host_proxy;
  131. DROP TABLE scim_group;
  132. DROP TABLE user_scim_group;
  133. DROP TABLE userdirectory_saml;
  134. DROP TABLE userdirectory_ldap;
  135. DROP TABLE userdirectory_media;
  136. DROP TABLE userdirectory_idpgroup CASCADE;
  137. DROP TABLE userdirectory_usrgrp;
  138. DROP TABLE event_symptom;
  139. DROP TABLE connector CASCADE;
  140. DROP TABLE connector_tag;
  141. DROP TABLE history_bin;
  142. DROP TABLE optag;
  143. DROP TABLE proxy CASCADE;
  144. DROP TABLE proxy_rtdata;
  145. DROP TABLE item_rtname;
  146. DROP TABLE ugset CASCADE;
  147. DROP TABLE ugset_group;
  148. DROP TABLE user_ugset;
  149. DROP TABLE hgset CASCADE;
  150. DROP TABLE hgset_group;
  151. DROP TABLE host_hgset;
  152. DROP TABLE permission;
  153. DROP TABLE mfa CASCADE;
  154. DROP TABLE mfa_totp_secret;
  155. DROP TABLE proxy_group CASCADE;
  156. DROP TABLE host_proxy;
  157. DROP TABLE proxy_group_rtdata;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement