mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
The obsolete table quiz_attemptonlast_datasets should no longer get created
This commit is contained in:
parent
7518b645b9
commit
6dfc23760f
@ -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`
|
||||
--
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user