From 150ed6cf4a06893d5ab64eb31c7efc06c4e05744 Mon Sep 17 00:00:00 2001
From: hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>
Date: Tue, 6 Aug 2002 08:47:24 +0000
Subject:  - changed definition of functions.lastvalue to allow NULL (Alexei) 
 - added upgrades/dbpatches/1.0beta5_to_1.0beta6/ with patches (Alexei)  -
 added misc/init.d/debian/zabbix_agent (Alexei)

git-svn-id: svn://svn.zabbix.com/trunk@449 97f52cf1-0a1b-0410-bd0e-c28be96e8082
---
 create/postgresql/schema.sql | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'create/postgresql/schema.sql')

diff --git a/create/postgresql/schema.sql b/create/postgresql/schema.sql
index 6669fedb..89aa81ac 100644
--- a/create/postgresql/schema.sql
+++ b/create/postgresql/schema.sql
@@ -184,7 +184,7 @@ CREATE TABLE functions (
   functionid		serial,
   itemid		int4		DEFAULT '0' NOT NULL,
   triggerid		int4		DEFAULT '0' NOT NULL,
-  lastvalue		varchar(255)	DEFAULT '0.0000' NOT NULL,
+  lastvalue		varchar(255),
   function		varchar(10)	DEFAULT '' NOT NULL,
   parameter		int4		DEFAULT '0' NOT NULL,
   PRIMARY KEY (functionid),
-- 
cgit 

