diff --git a/citations/citations-impl/impl/src/sql/oracle/sakai_citation.sql b/citations/citations-impl/impl/src/sql/oracle/sakai_citation.sql index c0c0983dd642..76a0677a1b69 100644 --- a/citations/citations-impl/impl/src/sql/oracle/sakai_citation.sql +++ b/citations/citations-impl/impl/src/sql/oracle/sakai_citation.sql @@ -29,9 +29,10 @@ CREATE TABLE CITATION_COLLECTION_ORDER ( COLLECTION_ID VARCHAR2 (36) NOT NULL, CITATION_ID VARCHAR (36), - SECTION_TYPE ENUM('HEADING1','HEADING2', 'HEADING3', 'DESCRIPTION', 'CITATION'), - VALUE TEXT, - LOCATION NUMBER(10,0) NOT NULL + SECTION_TYPE VARCHAR2(12), + VALUE CLOB, + LOCATION NUMBER(10,0) NOT NULL, + CHECK (SECTION_TYPE IN ('HEADING1','HEADING2', 'HEADING3', 'DESCRIPTION', 'CITATION')) ); -- ---------------------------------------------------------------------------