summaryrefslogtreecommitdiffstats
path: root/create/postgresql/schema.sql
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2005-01-13 23:04:46 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2005-01-13 23:04:46 +0000
commit9f6106016da8948042892ffd5c7cc3cdd51ce595 (patch)
tree3030a4c2af8fbeab3e1b47751370652881366665 /create/postgresql/schema.sql
parent64fcbcf0a95252aed8b8a1ae6522ddc736177579 (diff)
downloadzabbix-9f6106016da8948042892ffd5c7cc3cdd51ce595.tar.gz
zabbix-9f6106016da8948042892ffd5c7cc3cdd51ce595.tar.xz
zabbix-9f6106016da8948042892ffd5c7cc3cdd51ce595.zip
- changed logic yo update host.available instead of host.status (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@1604 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'create/postgresql/schema.sql')
-rw-r--r--create/postgresql/schema.sql1
1 files changed, 1 insertions, 0 deletions
diff --git a/create/postgresql/schema.sql b/create/postgresql/schema.sql
index 3fb3dcf0..ef9fbc04 100644
--- a/create/postgresql/schema.sql
+++ b/create/postgresql/schema.sql
@@ -33,6 +33,7 @@ CREATE TABLE hosts (
disable_until int4 DEFAULT '0' NOT NULL,
network_errors int4 DEFAULT '0' NOT NULL,
error varchar(128) DEFAULT '' NOT NULL,
+ available int4 DEFAULT '0' NOT NULL,
PRIMARY KEY (hostid)
);