From 566b142aaa7f03a8e2bbc96da9e60d7436bc76f5 Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Thu, 22 Apr 2010 08:56:24 -0400
Subject: [PATCH] - last commit fix + better performance with counters caching

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

diff --git a/SQL/postgres.initial.sql b/SQL/postgres.initial.sql
index eeeca32..5770dcc 100644
--- a/SQL/postgres.initial.sql
+++ b/SQL/postgres.initial.sql
@@ -68,6 +68,7 @@
     identity_id integer DEFAULT nextval('identity_ids'::text) PRIMARY KEY,
     user_id integer NOT NULL
 	REFERENCES users (user_id) ON DELETE CASCADE ON UPDATE CASCADE,
+    changed timestamp with time zone DEFAULT now() NOT NULL,
     del smallint DEFAULT 0 NOT NULL,
     standard smallint DEFAULT 0 NOT NULL,
     name varchar(128) NOT NULL,

--
Gitblit v1.9.1