2002-05-31 09:03:46 +00:00
|
|
|
# phpMyAdmin MySQL-Dump
|
|
|
|
# version 2.2.1
|
|
|
|
# http://phpwizard.net/phpMyAdmin/
|
|
|
|
# http://phpmyadmin.sourceforge.net/ (download page)
|
|
|
|
#
|
|
|
|
# Host: localhost
|
|
|
|
# Generation Time: Nov 14, 2001 at 04:44 PM
|
|
|
|
# Server version: 3.23.36
|
|
|
|
# PHP Version: 4.0.6
|
|
|
|
# Database : `moodle`
|
|
|
|
# --------------------------------------------------------
|
|
|
|
|
|
|
|
#
|
|
|
|
# Table structure for table `choice`
|
|
|
|
#
|
|
|
|
|
2002-12-20 14:44:14 +00:00
|
|
|
CREATE TABLE prefix_choice (
|
2002-05-31 09:03:46 +00:00
|
|
|
id int(10) unsigned NOT NULL auto_increment,
|
|
|
|
course int(10) unsigned NOT NULL default '0',
|
|
|
|
name varchar(255) NOT NULL default '',
|
|
|
|
text text NOT NULL,
|
2003-01-01 06:34:13 +00:00
|
|
|
format tinyint(2) unsigned NOT NULL default '0',
|
|
|
|
publish tinyint(2) unsigned NOT NULL default '0',
|
2005-03-30 16:14:49 +00:00
|
|
|
release tinyint(2) unsigned NOT NULL default '0',
|
|
|
|
display tinyint(4) unsigned NOT NULL default '0',
|
2004-07-01 07:41:36 +00:00
|
|
|
allowupdate tinyint(2) unsigned NOT NULL default '0',
|
2005-04-14 21:10:39 +00:00
|
|
|
showunanswered tinyint(2) unsigned NOT NULL default '0',
limitanswers tinyint(2) unsigned NOT NULL default '0',
|
2004-07-01 07:01:26 +00:00
|
|
|
timeopen int(10) unsigned NOT NULL default '0',
|
|
|
|
timeclose int(10) unsigned NOT NULL default '0',
|
2002-05-31 09:03:46 +00:00
|
|
|
timemodified int(10) unsigned NOT NULL default '0',
|
|
|
|
PRIMARY KEY (id),
|
2004-11-17 23:03:56 +00:00
|
|
|
UNIQUE KEY id (id),
|
|
|
|
KEY course (course)
|
2002-05-31 09:03:46 +00:00
|
|
|
) TYPE=MyISAM COMMENT='Available choices are stored here.';
|
|
|
|
|
|
|
|
|
|
|
|
# --------------------------------------------------------
|
|
|
|
|
|
|
|
#
|
2005-03-30 16:14:49 +00:00
|
|
|
# Table structure for table `choice_answers`
|
2002-05-31 09:03:46 +00:00
|
|
|
#
|
|
|
|
|
2005-03-30 16:14:49 +00:00
|
|
|
CREATE TABLE prefix_choice_answers (
|
2002-05-31 09:03:46 +00:00
|
|
|
id int(10) unsigned NOT NULL auto_increment,
|
2005-03-30 16:14:49 +00:00
|
|
|
choiceid int(10) unsigned NOT NULL default '0',
|
2002-12-23 09:39:26 +00:00
|
|
|
userid int(10) unsigned NOT NULL default '0',
|
2005-03-30 16:14:49 +00:00
|
|
|
optionid int(10) NOT NULL default '0',
|
2002-05-31 09:03:46 +00:00
|
|
|
timemodified int(10) NOT NULL default '0',
|
|
|
|
PRIMARY KEY (id),
|
2004-11-17 23:03:56 +00:00
|
|
|
UNIQUE KEY id (id),
|
|
|
|
KEY userid (userid),
|
2005-03-30 16:14:49 +00:00
|
|
|
KEY choiceid (choiceid)
|
2002-05-31 09:03:46 +00:00
|
|
|
) TYPE=MyISAM;
|
|
|
|
|
2005-03-29 23:46:17 +00:00
|
|
|
|
|
|
|
# --------------------------------------------------------
|
|
|
|
|
|
|
|
#
|
2005-03-30 16:14:49 +00:00
|
|
|
# Table structure for table `choice_options`
|
2005-03-29 23:46:17 +00:00
|
|
|
#
|
|
|
|
|
2005-03-30 16:14:49 +00:00
|
|
|
CREATE TABLE prefix_choice_options (
|
2005-03-29 23:46:17 +00:00
|
|
|
id int(10) unsigned NOT NULL auto_increment,
|
2005-03-30 16:14:49 +00:00
|
|
|
choiceid int(10) unsigned NOT NULL default '0',
|
2005-04-14 21:10:39 +00:00
|
|
|
`text` TEXT,
maxanswers int(10) unsigned NULL default '0',
|
2005-03-29 23:46:17 +00:00
|
|
|
timemodified int(10) NOT NULL default '0',
|
|
|
|
PRIMARY KEY (id),
|
|
|
|
UNIQUE KEY id (id),
|
2005-03-30 16:14:49 +00:00
|
|
|
KEY choiceid (choiceid)
|
2005-03-29 23:46:17 +00:00
|
|
|
) TYPE=MyISAM;
|
|
|
|
|
2002-05-31 09:14:00 +00:00
|
|
|
#
|
|
|
|
# Dumping data for table `log_display`
|
|
|
|
#
|
|
|
|
|
2002-12-20 14:44:14 +00:00
|
|
|
INSERT INTO prefix_log_display VALUES ('choice', 'view', 'choice', 'name');
|
|
|
|
INSERT INTO prefix_log_display VALUES ('choice', 'update', 'choice', 'name');
|
|
|
|
INSERT INTO prefix_log_display VALUES ('choice', 'add', 'choice', 'name');
|
|
|
|
INSERT INTO prefix_log_display VALUES ('choice', 'report', 'choice', 'name');
|
2004-02-17 14:39:15 +00:00
|
|
|
INSERT INTO prefix_log_display VALUES ('choice', 'choose', 'choice', 'name');
|
|
|
|
INSERT INTO prefix_log_display VALUES ('choice', 'choose again', 'choice', 'name');
|
2002-05-31 09:14:00 +00:00
|
|
|
|
|
|
|
|