Index: openacs-4/packages/assessment/sql/postgresql/assessment-item-type-create.sql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/assessment/sql/postgresql/assessment-item-type-create.sql,v diff -u -r1.9 -r1.9.2.1 --- openacs-4/packages/assessment/sql/postgresql/assessment-item-type-create.sql 21 Feb 2005 14:32:55 -0000 1.9 +++ openacs-4/packages/assessment/sql/postgresql/assessment-item-type-create.sql 4 Jul 2005 15:02:23 -0000 1.9.2.1 @@ -165,3 +165,28 @@ -- the orientation between the "question part" of the Item (the title/subtext) and the "answer part" (beside-left, beside-right, bellow, above) item_answer_alignment varchar(20) ); + + +-- File Upload Item +create table as_item_type_fu ( + as_item_type_id integer + constraint as_item_type_fu_as_item_type_id_pk + primary key + constraint as_item_type_fu_as_item_type_id_fk + references cr_revisions(revision_id) +); + +-- File Upload Display Type +create table as_item_display_f ( + as_item_display_id integer + constraint as_item_display_f_as_item_display_id_pk + primary key + constraint as_item_display_f_as_item_display_id_fk + references cr_revisions(revision_id), + -- field to specify other stuff like textarea dimensions + html_display_options varchar(50), + -- an abstraction of the real size value in "small","medium","large" + abs_size varchar(10), + -- the orientation between the "question part" of the Item (the title/subtext) and the "answer part" (beside-left, beside-right, bellow, above) + item_answer_alignment varchar(20) +);