Skip to content
Browse files

add postgress model for search

  • Loading branch information...
1 parent 12262b4 commit b7a2cc89ddb95c934f4fca2e741f4e4f974f8252 diml committed Sep 7, 2007
Showing with 11 additions and 0 deletions.
  1. +11 −0 search/db/postgres7.sql
View
11 search/db/postgres7.sql
@@ -0,0 +1,11 @@
+CREATE TABLE prefix_search_documents (
+ id SERIAL8 PRIMARY KEY,
+ docid int4 NOT NULL,
+ doctype varchar(12) NOT NULL DEFAULT 'none',
+ title varchar(100) NOT NULL default '',
+ url varchar(250) NOT NULL default '',
+ docdate timestamp NOT NULL,
+ updated timestamp NOT NULL DEFAULT NOW(),
+ courseid int4,
+ groupid int4
+);

0 comments on commit b7a2cc8

Please sign in to comment.
Something went wrong with that request. Please try again.