]> git.mjollnir.org Git - moodle.git/commitdiff
The obsolete table quiz_attemptonlast_datasets should no longer get created
authorgustav_delius <gustav_delius>
Wed, 22 Mar 2006 22:04:31 +0000 (22:04 +0000)
committergustav_delius <gustav_delius>
Wed, 22 Mar 2006 22:04:31 +0000 (22:04 +0000)
mod/quiz/db/mysql.sql
mod/quiz/db/postgres7.sql

index 83fe73eddc3ef4156248247842a262da6732f9ab..733207a4a708aadeed27322a792094d5cbadbf48 100644 (file)
@@ -66,21 +66,6 @@ CREATE TABLE prefix_question_answers (
 
 -- --------------------------------------------------------
 
--- 
--- Table structure for table `prefix_quiz_attemptonlast_datasets`
--- 
-
-CREATE TABLE prefix_quiz_attemptonlast_datasets (
-  id int(10) unsigned NOT NULL auto_increment,
-  category int(10) unsigned NOT NULL default '0',
-  userid int(10) unsigned NOT NULL default '0',
-  datasetnumber int(10) unsigned NOT NULL default '0',
-  PRIMARY KEY  (id),
-  UNIQUE KEY category (category,userid)
-) TYPE=MyISAM COMMENT='Dataset number for attemptonlast attempts per user';
-
--- --------------------------------------------------------
-
 -- 
 -- Table structure for table `prefix_quiz_attempts`
 -- 
index 6192d3d607b5e80e5b8b2a029eb7a86e1cd0461a..08fb04c0ec602de1a3d6198136a9a26c56eb7f07 100644 (file)
@@ -62,20 +62,6 @@ CREATE TABLE prefix_question_answers (
 CREATE INDEX prefix_question_answers_question_idx ON prefix_question_answers (question);
 
 
-# --------------------------------------------------------
-#
-# Table structure for table prefix_quiz_attemptonlast_datasets
-#
-
-CREATE TABLE prefix_quiz_attemptonlast_datasets (
-    id SERIAL8 PRIMARY KEY,
-    category INT8  NOT NULL default '0',
-    userid INT8  NOT NULL default '0',
-    datasetnumber INT8  NOT NULL default '0',
-    CONSTRAINT  prefix_quiz_attemptonlast_datasets_category_userid UNIQUE (category,userid)
-);
-
-
 # --------------------------------------------------------
 #
 # Table structure for table prefix_quiz_attempts