--
-- Creates the dotLRN research paper module
--
-- @author yon (yon@openforce.net)
-- @creation-date 2002-02-24
-- @version $Id: dotlrn-research-create.sql,v 1.2 2002/03/05 00:41:01 yon Exp $
--

create table dotlrn_research_papers (
    community_id                constraint dotlrn_rp_community_id_fk
                                references dotlrn_communities (community_id)
                                constraint dotlrn_rp_community_id_nn
                                not null,
    file_id                     constraint dotlrn_rp_file_id_fk
                                references cr_revisions (revision_id)
                                constraint dotlrn_rp_file_id_nn
                                not null,
    constraint dotlrn_research_papers_pk
    primary key (community_id, file_id)
);

@@ research-portlet-create.sql;
@@ research-admin-portlet-create.sql;
@@ dotlrn-research-applet-create.sql
