From 7e8aa5268b9131946156a43ddfee3d1499932836 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 18 May 2003 16:43:56 +0000 Subject: - Fixed bug in book_prev(). Patch by Andy Colson. - Book optimizations: updated to use inner joins. Patch by Andy Colson. This should address bug #1373. TODO: add index to MSSQL database scheme. --- 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 08d277289..c2d2f0969 100644 --- a/database/database.pgsql +++ b/database/database.pgsql @@ -66,6 +66,7 @@ CREATE TABLE book ( PRIMARY KEY (nid) ); CREATE INDEX book_nid_idx ON book(nid); +CREATE INDEX book_parent ON book(parent); -- -- Table structure for boxes -- cgit v1.2.3