From 7af49ab274e7ea650abfecb323ae4b510960b5c3 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 12 Aug 2003 18:32:54 +0000 Subject: - Committed Marco's comment module patch: + Dramatically improves performance of large discussions/threads: only very few SQL queries are required. + Replaces custom pager with standard pager. Modifications by me: + Reworded some code comments. + Removed dependencies on pager internals. --- database/database.pgsql | 1 + 1 file changed, 1 insertion(+) (limited to 'database/database.pgsql') diff --git a/database/database.pgsql b/database/database.pgsql index 2e26a9f4f..9c8232514 100644 --- a/database/database.pgsql +++ b/database/database.pgsql @@ -123,6 +123,7 @@ CREATE TABLE comments ( link varchar(16) NOT NULL default '', score integer NOT NULL default '0', status smallint NOT NULL default '0', + thread vharchar(255) NOT NULL, users text default '', PRIMARY KEY (cid) ); -- cgit v1.2.3