1 # phpMyAdmin MySQL-Dump
\r
3 # http://phpwizard.net/phpMyAdmin/
\r
4 # http://phpmyadmin.sourceforge.net/ (download page)
\r
7 # Generation Time: Nov 14, 2001 at 04:44 PM
\r
8 # Server version: 3.23.36
\r
10 # Database : `moodle`
\r
11 # --------------------------------------------------------
\r
14 # Table structure for table `choice`
\r
17 CREATE TABLE prefix_choice (
\r
18 id int(10) unsigned NOT NULL auto_increment,
\r
19 course int(10) unsigned NOT NULL default '0',
\r
20 name varchar(255) NOT NULL default '',
\r
22 format tinyint(2) unsigned NOT NULL default '0',
\r
23 publish tinyint(2) unsigned NOT NULL default '0',
\r
24 `release` tinyint(2) unsigned NOT NULL default '0',
\r
25 display tinyint(4) unsigned NOT NULL default '0',
\r
26 allowupdate tinyint(2) unsigned NOT NULL default '0',
\r
27 showunanswered tinyint(2) unsigned NOT NULL default '0',
\r \r limitanswers tinyint(2) unsigned NOT NULL default '0',
\r
28 timeopen int(10) unsigned NOT NULL default '0',
\r
29 timeclose int(10) unsigned NOT NULL default '0',
\r
30 timemodified int(10) unsigned NOT NULL default '0',
\r
34 ) TYPE=MyISAM COMMENT='Available choices are stored here.';
\r
37 # --------------------------------------------------------
\r
40 # Table structure for table `choice_answers`
\r
43 CREATE TABLE prefix_choice_answers (
\r
44 id int(10) unsigned NOT NULL auto_increment,
\r
45 choiceid int(10) unsigned NOT NULL default '0',
\r
46 userid int(10) unsigned NOT NULL default '0',
\r
47 optionid int(10) NOT NULL default '0',
\r
48 timemodified int(10) NOT NULL default '0',
\r
51 KEY userid (userid),
\r
52 KEY choiceid (choiceid)
\r
56 # --------------------------------------------------------
\r
59 # Table structure for table `choice_options`
\r
62 CREATE TABLE prefix_choice_options (
\r
63 id int(10) unsigned NOT NULL auto_increment,
\r
64 choiceid int(10) unsigned NOT NULL default '0',
\r
65 `text` TEXT,
\r \r maxanswers int(10) unsigned NULL default '0',
\r
66 timemodified int(10) NOT NULL default '0',
\r
69 KEY choiceid (choiceid)
\r
73 # Dumping data for table `log_display`
\r
76 INSERT INTO prefix_log_display VALUES ('choice', 'view', 'choice', 'name');
\r
77 INSERT INTO prefix_log_display VALUES ('choice', 'update', 'choice', 'name');
\r
78 INSERT INTO prefix_log_display VALUES ('choice', 'add', 'choice', 'name');
\r
79 INSERT INTO prefix_log_display VALUES ('choice', 'report', 'choice', 'name');
\r
80 INSERT INTO prefix_log_display VALUES ('choice', 'choose', 'choice', 'name');
\r
81 INSERT INTO prefix_log_display VALUES ('choice', 'choose again', 'choice', 'name');
\r