2 # --------------------------------------------------------
5 # Table structure for table prefix_question_rqp
8 CREATE TABLE prefix_question_rqp (
10 question integer NOT NULL default '0',
11 type integer NOT NULL default '0',
13 format varchar(255) NOT NULL default '',
14 flags integer NOT NULL default '0',
15 maxscore integer NOT NULL default '1'
18 CREATE INDEX prefix_question_rqp_question_idx ON prefix_question_rqp (question);
21 # --------------------------------------------------------
24 # Table structure for table prefix_question_rqp_states
27 CREATE TABLE prefix_question_rqp_states (
28 id SERIAL PRIMARY KEY,
29 stateid integer NOT NULL default '0',
30 responses text NOT NULL,
31 persistent_data text NOT NULL,
32 template_vars text NOT NULL
35 # --------------------------------------------------------
38 # Table structure for table prefix_question_rqp_type
41 CREATE TABLE prefix_question_rqp_types (
42 id SERIAL PRIMARY KEY,
43 name varchar(255) NOT NULL default '',
44 rendering_server varchar(255) NOT NULL default '',
45 cloning_server varchar(255) NOT NULL default '',
46 flags integer NOT NULL default '0'
49 CREATE UNIQUE INDEX prefix_question_rqp_types_name_uk ON prefix_question_rqp_types (name);