1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mediawiki_ynh.git synced 2024-09-03 19:46:05 +02:00
mediawiki_ynh/sources/mediawiki/maintenance/archives/patch-log_id.sql

8 lines
360 B
SQL

-- Log_id field that means one log entry can be referred to with a single number,
-- rather than a dirty great big mess of features.
-- This might be useful for single-log-entry deletion, et cetera.
-- Andrew Garrett, February 2007.
ALTER TABLE /*$wgDBprefix*/logging
ADD COLUMN log_id int unsigned not null auto_increment,
ADD PRIMARY KEY log_id (log_id);