Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

corrected the spelling of "Potatatoes" to "Potatoes" in the comments …

…of several tables
  • Loading branch information...
commit 49b67b7be1f8b93aa02ef477cc84770cefb4e3c9 1 parent e42fa8c
authored

Showing 1 changed file with 74 additions and 74 deletions. Show diff stats Hide diff stats

  1. 148  mod/hotpot/db/mysql.sql
148  mod/hotpot/db/mysql.sql
@@ -2,100 +2,100 @@
2 2
 # Table structure for table `hotpot`
3 3
 #
4 4
 CREATE TABLE prefix_hotpot (
5  
-  id int(10) unsigned NOT NULL auto_increment,
6  
-  course int(10) unsigned NOT NULL default '0',
7  
-  name varchar(255) NOT NULL default '',
8  
-  summary text NOT NULL,
9  
-  timeopen int(10) unsigned NOT NULL default '0',
10  
-  timeclose int(10) unsigned NOT NULL default '0',
11  
-  location int(4) unsigned NOT NULL default '0',
12  
-  reference varchar(255) NOT NULL default '',
13  
-  outputformat int(4) unsigned NOT NULL default '1',
14  
-  navigation int(4) unsigned NOT NULL default '1',
15  
-  studentfeedback tinyint(4) unsigned NOT NULL default '0',
16  
-  studentfeedbackurl varchar(255) default NULL,
17  
-  forceplugins int(4) unsigned NOT NULL default '0',
18  
-  shownextquiz int(4) unsigned NOT NULL default '0',
19  
-  review tinyint(4) NOT NULL default '0',
20  
-  grade int(10) NOT NULL default '0',
21  
-  grademethod tinyint(4) NOT NULL default '1',
22  
-  attempts smallint(6) NOT NULL default '0',
23  
-  password varchar(255) NOT NULL default '',
24  
-  subnet varchar(255) NOT NULL default '',
25  
-  clickreporting tinyint(4) unsigned NOT NULL default '0',
26  
-  timecreated int(10) unsigned NOT NULL default '0',
27  
-  timemodified int(10) unsigned NOT NULL default '0',
28  
-  PRIMARY KEY  (id)
  5
+    id int(10) unsigned NOT NULL auto_increment,
  6
+    course int(10) unsigned NOT NULL default '0',
  7
+    name varchar(255) NOT NULL default '',
  8
+    summary text NOT NULL,
  9
+    timeopen int(10) unsigned NOT NULL default '0',
  10
+    timeclose int(10) unsigned NOT NULL default '0',
  11
+    location int(4) unsigned NOT NULL default '0',
  12
+    reference varchar(255) NOT NULL default '',
  13
+    outputformat int(4) unsigned NOT NULL default '1',
  14
+    navigation int(4) unsigned NOT NULL default '1',
  15
+    studentfeedback tinyint(4) unsigned NOT NULL default '0',
  16
+    studentfeedbackurl varchar(255) default NULL,
  17
+    forceplugins int(4) unsigned NOT NULL default '0',
  18
+    shownextquiz int(4) unsigned NOT NULL default '0',
  19
+    review tinyint(4) NOT NULL default '0',
  20
+    grade int(10) NOT NULL default '0',
  21
+    grademethod tinyint(4) NOT NULL default '1',
  22
+    attempts smallint(6) NOT NULL default '0',
  23
+    password varchar(255) NOT NULL default '',
  24
+    subnet varchar(255) NOT NULL default '',
  25
+    clickreporting tinyint(4) unsigned NOT NULL default '0',
  26
+    timecreated int(10) unsigned NOT NULL default '0',
  27
+    timemodified int(10) unsigned NOT NULL default '0',
  28
+    PRIMARY KEY (id)
29 29
 ) TYPE=MyISAM COMMENT='details about Hot Potatoes quizzes';
30 30
 #
31 31
 # Table structure for table `hotpot_attempts`
32 32
 #
33 33
 CREATE TABLE prefix_hotpot_attempts (
34  
-  id int(10) unsigned NOT NULL auto_increment,
35  
-  hotpot int(10) unsigned NOT NULL default '0',
36  
-  userid int(10) unsigned NOT NULL default '0',
37  
-  starttime int(10) unsigned default NULL,
38  
-  endtime int(10) unsigned default NULL,
39  
-  score int(6) unsigned default NULL,
40  
-  penalties int(6) unsigned default NULL,
41  
-  attempt int(6) unsigned NOT NULL default '0',
42  
-  timestart int(10) unsigned default NULL,
43  
-  timefinish int(10) unsigned default NULL,
44  
-  status tinyint(4) unsigned NOT NULL default '1',
45  
-  clickreportid int(10) unsigned default NULL,
46  
-  PRIMARY KEY  (id),
47  
-  KEY prefix_hotpot_attempts_hotpot_idx (hotpot),
48  
-  KEY prefix_hotpot_attempts_userid_idx (userid)
  34
+    id int(10) unsigned NOT NULL auto_increment,
  35
+    hotpot int(10) unsigned NOT NULL default '0',
  36
+    userid int(10) unsigned NOT NULL default '0',
  37
+    starttime int(10) unsigned default NULL,
  38
+    endtime int(10) unsigned default NULL,
  39
+    score int(6) unsigned default NULL,
  40
+    penalties int(6) unsigned default NULL,
  41
+    attempt int(6) unsigned NOT NULL default '0',
  42
+    timestart int(10) unsigned default NULL,
  43
+    timefinish int(10) unsigned default NULL,
  44
+    status tinyint(4) unsigned NOT NULL default '1',
  45
+    clickreportid int(10) unsigned default NULL,
  46
+    PRIMARY KEY (id),
  47
+    KEY prefix_hotpot_attempts_hotpot_idx (hotpot),
  48
+    KEY prefix_hotpot_attempts_userid_idx (userid)
49 49
 ) TYPE=MyISAM COMMENT='details about Hot Potatoes quiz attempts';
50 50
 # 
51 51
 # Table structure for table `hotpot_details`
52 52
 #
53 53
 CREATE TABLE prefix_hotpot_details (
54  
-  id int(10) unsigned NOT NULL auto_increment,
55  
-  attempt int(10) unsigned NOT NULL,
56  
-  details text,
57  
-  PRIMARY KEY  (id),
58  
-  KEY prefix_hotpot_details_attempt_idx (attempt)
  54
+    id int(10) unsigned NOT NULL auto_increment,
  55
+    attempt int(10) unsigned NOT NULL,
  56
+    details text,
  57
+    PRIMARY KEY (id),
  58
+    KEY prefix_hotpot_details_attempt_idx (attempt)
59 59
 ) TYPE=MyISAM COMMENT='raw details (as XML) of Hot Potatoes quiz attempts';
60 60
 #
61 61
 # Table structure for table `hotpot_questions`
62 62
 #
63 63
 CREATE TABLE prefix_hotpot_questions (
64  
-  id int(10) unsigned NOT NULL auto_increment,
65  
-  name text NOT NULL,
66  
-  type tinyint(4) unsigned default NULL,
67  
-  text int(10) unsigned default NULL,
68  
-  hotpot int(10) unsigned NOT NULL default '0',
69  
-  PRIMARY KEY  (id),
70  
-  KEY prefix_hotpot_questions_name_idx (name(20)),
71  
-  KEY prefix_hotpot_questions_hotpot_idx (hotpot)
72  
-) TYPE=MyISAM COMMENT='details about questions in Hot Potatatoes quiz attempts';
  64
+    id int(10) unsigned NOT NULL auto_increment,
  65
+    name text NOT NULL,
  66
+    type tinyint(4) unsigned default NULL,
  67
+    text int(10) unsigned default NULL,
  68
+    hotpot int(10) unsigned NOT NULL default '0',
  69
+    PRIMARY KEY (id),
  70
+    KEY prefix_hotpot_questions_name_idx (name(20)),
  71
+    KEY prefix_hotpot_questions_hotpot_idx (hotpot)
  72
+) TYPE=MyISAM COMMENT='details about questions in Hot Potatoes quiz attempts';
73 73
 #
74 74
 # Table structure for table `hotpot_responses`
75 75
 #
76 76
 CREATE TABLE prefix_hotpot_responses (
77  
-  id int(10) unsigned NOT NULL auto_increment,
78  
-  attempt int(10) unsigned NOT NULL default '0',
79  
-  question int(10) unsigned NOT NULL default '0',
80  
-  score smallint(8) default NULL,
81  
-  weighting smallint(8) default NULL,
82  
-  correct varchar(255) default NULL,
83  
-  wrong varchar(255) default NULL,
84  
-  ignored varchar(255) default NULL,
85  
-  hints smallint(6) default NULL,
86  
-  clues smallint(6) default NULL,
87  
-  checks smallint(6) default NULL,
88  
-  PRIMARY KEY  (id),
89  
-  KEY prefix_hotpot_responses_attempt_idx (attempt),
90  
-  KEY prefix_hotpot_responses_question_idx (question)
91  
-) TYPE=MyISAM COMMENT='details about responses in Hot Potatatoes quiz attempts';
  77
+    id int(10) unsigned NOT NULL auto_increment,
  78
+    attempt int(10) unsigned NOT NULL default '0',
  79
+    question int(10) unsigned NOT NULL default '0',
  80
+    score smallint(8) default NULL,
  81
+    weighting smallint(8) default NULL,
  82
+    correct varchar(255) default NULL,
  83
+    wrong varchar(255) default NULL,
  84
+    ignored varchar(255) default NULL,
  85
+    hints smallint(6) default NULL,
  86
+    clues smallint(6) default NULL,
  87
+    checks smallint(6) default NULL,
  88
+    PRIMARY KEY (id),
  89
+    KEY prefix_hotpot_responses_attempt_idx (attempt),
  90
+    KEY prefix_hotpot_responses_question_idx (question)
  91
+) TYPE=MyISAM COMMENT='details about responses in Hot Potatoes quiz attempts';
92 92
 #
93 93
 # Table structure for table `hotpot_strings`
94 94
 #
95 95
 CREATE TABLE prefix_hotpot_strings (
96  
-  id int(10) unsigned NOT NULL auto_increment,
97  
-  string text NOT NULL,
98  
-  PRIMARY KEY  (id),
99  
-  KEY prefix_hotpot_strings_string_idx (string(20))
100  
-) TYPE=MyISAM COMMENT='strings used in Hot Potatatoes questions and responses';
101  
-    
  96
+    id int(10) unsigned NOT NULL auto_increment,
  97
+    string text NOT NULL,
  98
+    PRIMARY KEY (id),
  99
+    KEY prefix_hotpot_strings_string_idx (string(20))
  100
+) TYPE=MyISAM COMMENT='strings used in Hot Potatoes questions and responses';
  101
+        

0 notes on commit 49b67b7

Please sign in to comment.
Something went wrong with that request. Please try again.