added /*$wgDBprefix*/ in various places, to support upgrading from old prefixed datab...
[lhc/web/wiklou.git] / maintenance / archives / patch-usernewtalk.sql
index 735f2cb..fb8c865 100644 (file)
@@ -4,7 +4,7 @@
 --- The respective column in the user table is no longer
 --- required and therefore dropped.
 
-CREATE TABLE user_newtalk (
+CREATE TABLE /*$wgDBprefix*/user_newtalk (
   user_id int(5) NOT NULL default '0',
   user_ip varchar(40) NOT NULL default '',
   KEY user_id (user_id),
@@ -12,9 +12,9 @@ CREATE TABLE user_newtalk (
 ) TYPE=MyISAM;
 
 INSERT INTO
-  user_newtalk (user_id, user_ip)
+  /*$wgDBprefix*/user_newtalk (user_id, user_ip)
   SELECT user_id, ''
     FROM user
     WHERE user_newtalk != 0;
 
-ALTER TABLE user DROP COLUMN user_newtalk;
+ALTER TABLE /*$wgDBprefix*/user DROP COLUMN user_newtalk;