added id index for comment table
authormh <mh>
Sun, 28 Apr 2002 18:54:49 +0000 (18:54 +0000)
committermh <mh>
Sun, 28 Apr 2002 18:54:49 +0000 (18:54 +0000)
dbscripts/create_pg.sql

index c0a3805..90d891c 100755 (executable)
@@ -695,4 +695,5 @@ CREATE  INDEX "idx_content_is_published" on "content" using btree ( "is_publishe
 
 CREATE  INDEX "idx_comment_tomedia_ispublished" on "comment" using btree ( "to_media" "int4_ops", "is_published" "bool_ops" );
 
+CREATE UNIQUE INDEX "idx_comment_id" on "comment" using btree ( "id" "int4_ops" );