1
0
mirror of https://github.com/moodle/moodle.git synced 2025-04-24 18:04:43 +02:00

add postgress model for search

This commit is contained in:
diml 2007-09-07 18:56:17 +00:00
parent 12262b41ec
commit b7a2cc89dd

11
search/db/postgres7.sql Normal 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
);