summaryrefslogtreecommitdiffstats
path: root/upgrades
diff options
context:
space:
mode:
authoralex <alex@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-05-14 11:35:18 +0000
committeralex <alex@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-05-14 11:35:18 +0000
commit90f1044ad520c79987196bdeb408877bc571bbd4 (patch)
treec70a7f6b34f7f2123969272b4e5228180b4aefeb /upgrades
parentbdfbda3f30a2021269c297432467315954ff3d1a (diff)
downloadzabbix-90f1044ad520c79987196bdeb408877bc571bbd4.tar.gz
zabbix-90f1044ad520c79987196bdeb408877bc571bbd4.tar.xz
zabbix-90f1044ad520c79987196bdeb408877bc571bbd4.zip
- new column httpstep.status_codes (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@4129 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'upgrades')
-rw-r--r--upgrades/dbpatches/1.4/mysql/patch/httpstep.sql3
-rw-r--r--upgrades/dbpatches/1.4/postgresql/patch/httpstep.sql1
2 files changed, 3 insertions, 1 deletions
diff --git a/upgrades/dbpatches/1.4/mysql/patch/httpstep.sql b/upgrades/dbpatches/1.4/mysql/patch/httpstep.sql
index b0cfd6ba..571960ff 100644
--- a/upgrades/dbpatches/1.4/mysql/patch/httpstep.sql
+++ b/upgrades/dbpatches/1.4/mysql/patch/httpstep.sql
@@ -6,7 +6,8 @@ CREATE TABLE httpstep (
url varchar(128) DEFAULT '' NOT NULL,
timeout integer DEFAULT '30' NOT NULL,
posts blob DEFAULT '' NOT NULL,
- required varchar(255) DEFAULT '' NOT NULL,
+ required varchar(255) DEFAULT '' NOT NULL,
+ status_codes varchar(255) DEFAULT '' NOT NULL,
PRIMARY KEY (httpstepid)
) ENGINE=InnoDB;
CREATE INDEX httpstep_httpstep_1 on httpstep (httptestid);
diff --git a/upgrades/dbpatches/1.4/postgresql/patch/httpstep.sql b/upgrades/dbpatches/1.4/postgresql/patch/httpstep.sql
index 7f99fbfc..4d0c7630 100644
--- a/upgrades/dbpatches/1.4/postgresql/patch/httpstep.sql
+++ b/upgrades/dbpatches/1.4/postgresql/patch/httpstep.sql
@@ -7,6 +7,7 @@ CREATE TABLE httpstep (
timeout integer DEFAULT '30' NOT NULL,
posts text DEFAULT '' NOT NULL,
required varchar(255) DEFAULT '' NOT NULL,
+ status_codes varchar(255) DEFAULT '' NOT NULL,
PRIMARY KEY (httpstepid)
);
CREATE INDEX httpstep_httpstep_1 on httpstep (httptestid);