1 # phpMyAdmin MySQL-Dump
3 # http://phpwizard.net/phpMyAdmin/
4 # http://phpmyadmin.sourceforge.net/ (download page)
7 # Generation Time: Nov 14, 2001 at 04:44 PM
8 # Server version: 3.23.36
11 # --------------------------------------------------------
14 # Table structure for table `choice`
17 CREATE TABLE prefix_choice (
18 id SERIAL PRIMARY KEY,
19 course integer NOT NULL default '0',
20 name varchar(255) NOT NULL default '',
21 text text NOT NULL default '',
22 format integer NOT NULL default '0',
23 showunanswered integer NOT NULL default '0',
24 limitanswers integer NOT NULL default '0',
25 publish integer NOT NULL default '0',
26 release integer NOT NULL default '0',
27 display integer NOT NULL default '0',
28 allowupdate integer NOT NULL default '0',
29 timeopen integer NOT NULL default '0',
30 timeclose integer NOT NULL default '0',
31 timemodified integer NOT NULL default '0'
34 CREATE INDEX prefix_choice_course_idx ON prefix_choice (course);
36 # --------------------------------------------------------
39 # Table structure for table `choice_answers`
42 CREATE TABLE prefix_choice_answers (
43 id SERIAL PRIMARY KEY,
44 choiceid integer NOT NULL default '0',
45 userid integer NOT NULL default '0',
46 optionid integer NOT NULL default '0',
47 timemodified integer NOT NULL default '0'
50 CREATE INDEX prefix_choice_answers_choice_idx ON prefix_choice_answers (choiceid);
51 CREATE INDEX prefix_choice_answers_userid_idx ON prefix_choice_answers (userid);
53 # --------------------------------------------------------
56 # Table structure for table `choice_options`
59 CREATE TABLE prefix_choice_options (
60 id SERIAL PRIMARY KEY,
61 choiceid integer NOT NULL default '0',
63 maxanswers integer NULL default '0',
64 timemodified integer NOT NULL default '0'
67 CREATE INDEX prefix_choice_options_choice_idx ON prefix_choice_options (choiceid);
70 # Dumping data for table `log_display`
73 INSERT INTO prefix_log_display VALUES ('choice', 'view', 'choice', 'name');
74 INSERT INTO prefix_log_display VALUES ('choice', 'update', 'choice', 'name');
75 INSERT INTO prefix_log_display VALUES ('choice', 'add', 'choice', 'name');
76 INSERT INTO prefix_log_display VALUES ('choice', 'report', 'choice', 'name');
77 INSERT INTO prefix_log_display VALUES ('choice', 'choose', 'choice', 'name');
78 INSERT INTO prefix_log_display VALUES ('choice', 'choose again', 'choice', 'name');