From e447cb072f025f1b0af9fea091a316e11163119d Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Sun, 06 Nov 2005 18:04:27 -0500
Subject: [PATCH] Added 'changed' col to contacts table and support for 160-bit session hashes

---
 SQL/postgres.initial.sql |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/SQL/postgres.initial.sql b/SQL/postgres.initial.sql
index 1259573..29c134d 100755
--- a/SQL/postgres.initial.sql
+++ b/SQL/postgres.initial.sql
@@ -117,11 +117,11 @@
     del boolean DEFAULT false NOT NULL,
     "default" boolean DEFAULT false NOT NULL,
     name character varying(128) NOT NULL,
-    organization character varying(128) NOT NULL,
+    organization character varying(128),
     email character varying(128) NOT NULL,
-    "reply-to" character varying(128) NOT NULL,
-    bcc character varying(128) NOT NULL,
-    signature text NOT NULL
+    "reply-to" character varying(128),
+    bcc character varying(128),
+    signature text
 );
 
 
@@ -134,6 +134,7 @@
     sess_id character varying(32) DEFAULT ''::character varying NOT NULL,
     created timestamp with time zone DEFAULT now() NOT NULL,
     changed timestamp with time zone DEFAULT now() NOT NULL,
+    ip character varying(16) NOT NULL,
     vars text NOT NULL
 );
 

--
Gitblit v1.9.1