http://www.mediawiki.org/wiki/Special:Code/MediaWiki/90739

Revision: 90739
Author:   kaldari
Date:     2011-06-24 21:48:46 +0000 (Fri, 24 Jun 2011)
Log Message:
-----------
more specific table name - will have other log tables later

Modified Paths:
--------------
    trunk/extensions/CentralNotice/patches/patch-notice_logs.sql

Modified: trunk/extensions/CentralNotice/patches/patch-notice_logs.sql
===================================================================
--- trunk/extensions/CentralNotice/patches/patch-notice_logs.sql        
2011-06-24 21:36:23 UTC (rev 90738)
+++ trunk/extensions/CentralNotice/patches/patch-notice_logs.sql        
2011-06-24 21:48:46 UTC (rev 90739)
@@ -1,6 +1,6 @@
 -- Update to allow for logging of changes to campaign settings.
 
-CREATE TABLE IF NOT EXISTS /*$wgDBprefix*/cn_log (
+CREATE TABLE IF NOT EXISTS /*$wgDBprefix*/cn_notice_log (
        `notlog_id` int unsigned NOT NULL PRIMARY KEY auto_increment,
        `notlog_timestamp` binary(14) NOT NULL,
        `notlog_user_id` int unsigned NOT NULL,
@@ -29,6 +29,6 @@
        `notlog_begin_assignments` text,
        `notlog_end_assignments` text
 ) /*$wgDBTableOptions*/;
-CREATE INDEX /*i*/notlog_timestamp ON /*_*/cn_log (notlog_timestamp);
-CREATE INDEX /*i*/notlog_user_id ON /*_*/cn_log (notlog_user_id, 
notlog_timestamp);
-CREATE INDEX /*i*/notlog_not_id ON /*_*/cn_log (notlog_not_id, 
notlog_timestamp);
\ No newline at end of file
+CREATE INDEX /*i*/notlog_timestamp ON /*_*/cn_notice_log (notlog_timestamp);
+CREATE INDEX /*i*/notlog_user_id ON /*_*/cn_notice_log (notlog_user_id, 
notlog_timestamp);
+CREATE INDEX /*i*/notlog_not_id ON /*_*/cn_notice_log (notlog_not_id, 
notlog_timestamp);
\ No newline at end of file


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to