summaryrefslogtreecommitdiff
path: root/maintenance/archives/patch-log_id.sql
blob: bd69ddb6edbf84d4ce3a33cc2ab9f7f62d1ee922 (plain)
1
2
3
4
5
6
7
8
-- 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);