]> git.mjollnir.org Git - moodle.git/commitdiff
Changed the 'module' field length to 20 in the log_display table (Bug #5419).
authorvyshane <vyshane>
Mon, 8 May 2006 03:16:04 +0000 (03:16 +0000)
committervyshane <vyshane>
Mon, 8 May 2006 03:16:04 +0000 (03:16 +0000)
Previous commit message in 1.6 stable should read 'log_display table' instead
of 'log' table. Both fixes are identical and carried over to HEAD via a merge.

lib/db/mysql.sql
lib/db/postgres7.sql

index 7e6a8d9704961cddb137404decbcde9e7683118c..bd3d9bc990c0ea5bc7c2578019285b212bd94ab2 100644 (file)
@@ -433,7 +433,7 @@ CREATE TABLE `prefix_log` (
 
 CREATE TABLE `prefix_log_display` (
   `id` int(10) unsigned NOT NULL auto_increment,
-  `module` varchar(30) NOT NULL default '',
+  `module` varchar(20) NOT NULL default '',
   `action` varchar(40) NOT NULL default '',
   `mtable` varchar(30) NOT NULL default '',
   `field` varchar(50) NOT NULL default '',
index 7742e45696a00f0deb1787ea30e146dc54b27f1f..17c661c137b67900e2df4a487794b936bbf7faa7 100644 (file)
@@ -272,7 +272,7 @@ CREATE INDEX prefix_log_info_idx ON prefix_log (info);
 
 CREATE TABLE prefix_log_display (
    id SERIAL PRIMARY KEY,
-   module varchar(30) NOT NULL default '',
+   module varchar(20) NOT NULL default '',
    action varchar(40) NOT NULL default '',
    mtable varchar(30) NOT NULL default '',
    field varchar(50) NOT NULL default ''