Skip to content

Commit

Permalink
updated database creation by exporting from my database that was crea…
Browse files Browse the repository at this point in the history
…ted by updating from 1.4
  • Loading branch information
gustav_delius committed May 25, 2005
1 parent a4369a6 commit 11e9ca5
Showing 1 changed file with 75 additions and 59 deletions.
134 changes: 75 additions & 59 deletions mod/quiz/db/mysql.sql
@@ -1,20 +1,20 @@
-- phpMyAdmin SQL Dump
-- version 2.6.0-pl1
-- http://www.phpmyadmin.net
--
--
-- Host: localhost
-- Generation Time: May 04, 2005 at 06:27 PM
-- Generation Time: May 25, 2005 at 06:50 AM
-- Server version: 4.0.15
-- PHP Version: 4.3.3
--
--
-- Database: `upgrading`
--
--

-- --------------------------------------------------------

--
--
-- Table structure for table `prefix_quiz`
--
--

CREATE TABLE prefix_quiz (
id int(10) unsigned NOT NULL auto_increment,
Expand Down Expand Up @@ -48,9 +48,9 @@ CREATE TABLE prefix_quiz (

-- --------------------------------------------------------

--
--
-- Table structure for table `prefix_quiz_answers`
--
--

CREATE TABLE prefix_quiz_answers (
id int(10) unsigned NOT NULL auto_increment,
Expand All @@ -64,9 +64,9 @@ CREATE TABLE prefix_quiz_answers (

-- --------------------------------------------------------

--
--
-- Table structure for table `prefix_quiz_attemptonlast_datasets`
--
--

CREATE TABLE prefix_quiz_attemptonlast_datasets (
id int(10) unsigned NOT NULL auto_increment,
Expand All @@ -79,9 +79,9 @@ CREATE TABLE prefix_quiz_attemptonlast_datasets (

-- --------------------------------------------------------

--
--
-- Table structure for table `prefix_quiz_attempts`
--
--

CREATE TABLE prefix_quiz_attempts (
id int(10) unsigned NOT NULL auto_increment,
Expand All @@ -101,9 +101,9 @@ CREATE TABLE prefix_quiz_attempts (

-- --------------------------------------------------------

--
--
-- Table structure for table `prefix_quiz_calculated`
--
--

CREATE TABLE prefix_quiz_calculated (
id int(10) unsigned NOT NULL auto_increment,
Expand All @@ -120,9 +120,9 @@ CREATE TABLE prefix_quiz_calculated (

-- --------------------------------------------------------

--
--
-- Table structure for table `prefix_quiz_categories`
--
--

CREATE TABLE prefix_quiz_categories (
id int(10) unsigned NOT NULL auto_increment,
Expand All @@ -139,9 +139,9 @@ CREATE TABLE prefix_quiz_categories (

-- --------------------------------------------------------

--
--
-- Table structure for table `prefix_quiz_dataset_definitions`
--
--

CREATE TABLE prefix_quiz_dataset_definitions (
id int(10) unsigned NOT NULL auto_increment,
Expand All @@ -156,9 +156,9 @@ CREATE TABLE prefix_quiz_dataset_definitions (

-- --------------------------------------------------------

--
--
-- Table structure for table `prefix_quiz_dataset_items`
--
--

CREATE TABLE prefix_quiz_dataset_items (
id int(10) unsigned NOT NULL auto_increment,
Expand All @@ -171,9 +171,9 @@ CREATE TABLE prefix_quiz_dataset_items (

-- --------------------------------------------------------

--
--
-- Table structure for table `prefix_quiz_grades`
--
--

CREATE TABLE prefix_quiz_grades (
id int(10) unsigned NOT NULL auto_increment,
Expand All @@ -188,9 +188,9 @@ CREATE TABLE prefix_quiz_grades (

-- --------------------------------------------------------

--
--
-- Table structure for table `prefix_quiz_match`
--
--

CREATE TABLE prefix_quiz_match (
id int(10) unsigned NOT NULL auto_increment,
Expand All @@ -202,9 +202,9 @@ CREATE TABLE prefix_quiz_match (

-- --------------------------------------------------------

--
--
-- Table structure for table `prefix_quiz_match_sub`
--
--

CREATE TABLE prefix_quiz_match_sub (
id int(10) unsigned NOT NULL auto_increment,
Expand All @@ -217,9 +217,9 @@ CREATE TABLE prefix_quiz_match_sub (

-- --------------------------------------------------------

--
--
-- Table structure for table `prefix_quiz_multianswers`
--
--

CREATE TABLE prefix_quiz_multianswers (
id int(10) unsigned NOT NULL auto_increment,
Expand All @@ -231,9 +231,9 @@ CREATE TABLE prefix_quiz_multianswers (

-- --------------------------------------------------------

--
--
-- Table structure for table `prefix_quiz_multichoice`
--
--

CREATE TABLE prefix_quiz_multichoice (
id int(10) unsigned NOT NULL auto_increment,
Expand All @@ -247,9 +247,9 @@ CREATE TABLE prefix_quiz_multichoice (

-- --------------------------------------------------------

--
--
-- Table structure for table `prefix_quiz_newest_states`
--
--

CREATE TABLE prefix_quiz_newest_states (
id int(10) unsigned NOT NULL auto_increment,
Expand All @@ -264,24 +264,25 @@ CREATE TABLE prefix_quiz_newest_states (

-- --------------------------------------------------------

--
--
-- Table structure for table `prefix_quiz_numerical`
--
--

CREATE TABLE prefix_quiz_numerical (
id int(10) unsigned NOT NULL auto_increment,
question int(10) unsigned NOT NULL default '0',
answer int(10) unsigned NOT NULL default '0',
tolerance varchar(255) NOT NULL default '0.0',
PRIMARY KEY (id),
KEY answer (answer),
KEY question (question)
) TYPE=MyISAM COMMENT='Options for numerical questions';

-- --------------------------------------------------------

--
--
-- Table structure for table `prefix_quiz_numerical_units`
--
--

CREATE TABLE prefix_quiz_numerical_units (
id int(10) unsigned NOT NULL auto_increment,
Expand All @@ -294,9 +295,9 @@ CREATE TABLE prefix_quiz_numerical_units (

-- --------------------------------------------------------

--
--
-- Table structure for table `prefix_quiz_question_datasets`
--
--

CREATE TABLE prefix_quiz_question_datasets (
id int(10) unsigned NOT NULL auto_increment,
Expand All @@ -308,9 +309,9 @@ CREATE TABLE prefix_quiz_question_datasets (

-- --------------------------------------------------------

--
--
-- Table structure for table `prefix_quiz_question_instances`
--
--

CREATE TABLE prefix_quiz_question_instances (
id int(10) unsigned NOT NULL auto_increment,
Expand All @@ -324,9 +325,9 @@ CREATE TABLE prefix_quiz_question_instances (

-- --------------------------------------------------------

--
--
-- Table structure for table `prefix_quiz_question_versions`
--
--

CREATE TABLE prefix_quiz_question_versions (
id int(10) unsigned NOT NULL auto_increment,
Expand All @@ -340,9 +341,9 @@ CREATE TABLE prefix_quiz_question_versions (

-- --------------------------------------------------------

--
--
-- Table structure for table `prefix_quiz_questions`
--
--

CREATE TABLE prefix_quiz_questions (
id int(10) NOT NULL auto_increment,
Expand All @@ -365,9 +366,9 @@ CREATE TABLE prefix_quiz_questions (

-- --------------------------------------------------------

--
--
-- Table structure for table `prefix_quiz_randomsamatch`
--
--

CREATE TABLE prefix_quiz_randomsamatch (
id int(10) unsigned NOT NULL auto_increment,
Expand All @@ -379,9 +380,9 @@ CREATE TABLE prefix_quiz_randomsamatch (

-- --------------------------------------------------------

--
--
-- Table structure for table `prefix_quiz_rqp`
--
--

CREATE TABLE prefix_quiz_rqp (
id int(10) unsigned NOT NULL auto_increment,
Expand All @@ -397,9 +398,24 @@ CREATE TABLE prefix_quiz_rqp (

-- --------------------------------------------------------

--
--
-- Table structure for table `prefix_quiz_rqp_states`
--
--

CREATE TABLE prefix_quiz_rqp_servers (
id int(10) unsigned NOT NULL auto_increment,
typeid int(10) unsigned NOT NULL default '0',
url varchar(255) NOT NULL default '',
can_render tinyint(2) unsigned NOT NULL default '0',
can_author tinyint(2) unsigned NOT NULL default '0',
PRIMARY KEY (id)
) TYPE=MyISAM COMMENT='Information about RQP servers';

-- --------------------------------------------------------

--
-- Table structure for table `mdl_quiz_rqp_states`
--

CREATE TABLE prefix_quiz_rqp_states (
id int(10) unsigned NOT NULL auto_increment,
Expand All @@ -412,11 +428,11 @@ CREATE TABLE prefix_quiz_rqp_states (

-- --------------------------------------------------------

--
--
-- Table structure for table `prefix_quiz_rqp_type`
--
--

CREATE TABLE prefix_quiz_rqp_type (
CREATE TABLE prefix_quiz_rqp_types (
id int(10) unsigned NOT NULL auto_increment,
name varchar(255) NOT NULL default '',
rendering_server varchar(255) NOT NULL default '',
Expand All @@ -428,9 +444,9 @@ CREATE TABLE prefix_quiz_rqp_type (

-- --------------------------------------------------------

--
--
-- Table structure for table `prefix_quiz_shortanswer`
--
--

CREATE TABLE prefix_quiz_shortanswer (
id int(10) unsigned NOT NULL auto_increment,
Expand All @@ -443,9 +459,9 @@ CREATE TABLE prefix_quiz_shortanswer (

-- --------------------------------------------------------

--
--
-- Table structure for table `prefix_quiz_states`
--
--

CREATE TABLE prefix_quiz_states (
id int(10) unsigned NOT NULL auto_increment,
Expand All @@ -466,9 +482,9 @@ CREATE TABLE prefix_quiz_states (

-- --------------------------------------------------------

--
--
-- Table structure for table `prefix_quiz_truefalse`
--
--

CREATE TABLE prefix_quiz_truefalse (
id int(10) unsigned NOT NULL auto_increment,
Expand Down

0 comments on commit 11e9ca5

Please sign in to comment.