summaryrefslogtreecommitdiffstats
path: root/upgrades/dbpatches
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-01-02 11:58:31 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2006-01-02 11:58:31 +0000
commit99fffbaf39e6bdd1382b9673b3a80f7d7f091bf6 (patch)
treee491f98a257ef398e72d81f0602a666acfb3a271 /upgrades/dbpatches
parentbc1e6524c3bd99dd5c2befd7a977a47717a1921f (diff)
downloadzabbix-99fffbaf39e6bdd1382b9673b3a80f7d7f091bf6.tar.gz
zabbix-99fffbaf39e6bdd1382b9673b3a80f7d7f091bf6.tar.xz
zabbix-99fffbaf39e6bdd1382b9673b3a80f7d7f091bf6.zip
- screens and actions will not be under control of templates (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@2476 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'upgrades/dbpatches')
-rw-r--r--upgrades/dbpatches/1.1beta4_to_1.1beta5/mysql/patch.sql3
-rw-r--r--upgrades/dbpatches/1.1beta4_to_1.1beta5/postgresql/patch.sql3
2 files changed, 6 insertions, 0 deletions
diff --git a/upgrades/dbpatches/1.1beta4_to_1.1beta5/mysql/patch.sql b/upgrades/dbpatches/1.1beta4_to_1.1beta5/mysql/patch.sql
index 0daf38db..32f8d88c 100644
--- a/upgrades/dbpatches/1.1beta4_to_1.1beta5/mysql/patch.sql
+++ b/upgrades/dbpatches/1.1beta4_to_1.1beta5/mysql/patch.sql
@@ -1,5 +1,8 @@
alter table screens_items add elements int(4) DEFAULT '25' NOT NULL;
+alter table hosts_templates drop screens;
+alter table hosts_templates drop actions;
+
--
-- Table structure for table 'conditions'
--
diff --git a/upgrades/dbpatches/1.1beta4_to_1.1beta5/postgresql/patch.sql b/upgrades/dbpatches/1.1beta4_to_1.1beta5/postgresql/patch.sql
index ad07405e..5a7c9ae1 100644
--- a/upgrades/dbpatches/1.1beta4_to_1.1beta5/postgresql/patch.sql
+++ b/upgrades/dbpatches/1.1beta4_to_1.1beta5/postgresql/patch.sql
@@ -1,5 +1,8 @@
alter table screens_items add elements int4 DEFAULT '25' NOT NULL;
+alter table hosts_templates drop screens;
+alter table hosts_templates drop actions;
+
--
-- Table structure for table 'conditions'
--