]> git.mjollnir.org Git - moodle.git/commitdiff
fix for 6294
authortoyomoyo <toyomoyo>
Mon, 21 Aug 2006 02:23:25 +0000 (02:23 +0000)
committertoyomoyo <toyomoyo>
Mon, 21 Aug 2006 02:23:25 +0000 (02:23 +0000)
lib/db/mysql.php

index c363ed746169adf05aac5cb56c4b3379f92c1174..645f39cfc9056caf0369b1ccfd078e007289afcc 100644 (file)
@@ -2064,9 +2064,6 @@ function main_upgrade($oldversion=0) {
                               `roleid` int(10) unsigned NOT NULL default '0',
                               `contextid` int(10) unsigned NOT NULL default '0', 
                               `text` text NOT NULL default '',
-                              KEY `roleid` (`roleid`),
-                              KEY `contextid` (`roleid`),
-                              UNIQUE KEY `roleid-contextid` (`roleid`, `contextid`),
                               PRIMARY KEY (`id`) 
                             )", true);