add postgress model for search

This commit is contained in:
diml
2007-09-07 18:56:17 +00:00
parent 12262b41ec
commit b7a2cc89dd
+11
View File
@@ -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
);