patch-usernewtalk.sql

来自「php 开发的内容管理系统」· SQL 代码 · 共 21 行

SQL
21
字号
--- This table stores all the IDs of users whose talk--- page has been changed (the respective row is deleted--- when the user looks at the page).--- The respective column in the user table is no longer--- required and therefore dropped.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),  KEY user_ip (user_ip)) TYPE=MyISAM;INSERT INTO  /*$wgDBprefix*/user_newtalk (user_id, user_ip)  SELECT user_id, ''    FROM user    WHERE user_newtalk != 0;ALTER TABLE /*$wgDBprefix*/user DROP COLUMN user_newtalk;

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?