summaryrefslogtreecommitdiffstats
path: root/upgrades/dbpatches
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2005-01-17 19:07:17 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2005-01-17 19:07:17 +0000
commit1ad5d81dff9ab714d1ca992c9a7344f192eeaa61 (patch)
tree60bd10f1932091d8ca981ec076b757f23cd9e8eb /upgrades/dbpatches
parent122708ba14cc6df7904ec6e7d98f06e4c17ba0da (diff)
downloadzabbix-1ad5d81dff9ab714d1ca992c9a7344f192eeaa61.tar.gz
zabbix-1ad5d81dff9ab714d1ca992c9a7344f192eeaa61.tar.xz
zabbix-1ad5d81dff9ab714d1ca992c9a7344f192eeaa61.zip
- configurable format of icon labels for maps (Alexei)
- added column sysmaps.label_type (Alexei) git-svn-id: svn://svn.zabbix.com/trunk@1615 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'upgrades/dbpatches')
-rw-r--r--upgrades/dbpatches/1.1alpha4_to_1.1alpha5/mysql/patch.sql2
-rw-r--r--upgrades/dbpatches/1.1alpha4_to_1.1alpha5/postgresql/patch.sql2
2 files changed, 4 insertions, 0 deletions
diff --git a/upgrades/dbpatches/1.1alpha4_to_1.1alpha5/mysql/patch.sql b/upgrades/dbpatches/1.1alpha4_to_1.1alpha5/mysql/patch.sql
index 94c0b8fb..d6aa116a 100644
--- a/upgrades/dbpatches/1.1alpha4_to_1.1alpha5/mysql/patch.sql
+++ b/upgrades/dbpatches/1.1alpha4_to_1.1alpha5/mysql/patch.sql
@@ -27,3 +27,5 @@ update hosts set available=1 where status=0;
update hosts set available=2 where status=2;
update hosts set status=0 where status=2;
+
+alter table sysmaps add label_type int(4) DEFAULT '0' NOT NULL;
diff --git a/upgrades/dbpatches/1.1alpha4_to_1.1alpha5/postgresql/patch.sql b/upgrades/dbpatches/1.1alpha4_to_1.1alpha5/postgresql/patch.sql
index ae4d1500..f9340281 100644
--- a/upgrades/dbpatches/1.1alpha4_to_1.1alpha5/postgresql/patch.sql
+++ b/upgrades/dbpatches/1.1alpha4_to_1.1alpha5/postgresql/patch.sql
@@ -30,3 +30,5 @@ update hosts set available=1 where status=0;
update hosts set available=2 where status=2;
update hosts set status=0 where status=2;
+
+alter table sysmaps add label_type int4 DEFAULT '0' NOT NULL;