summaryrefslogtreecommitdiff
path: root/maintenance/archives/patch-rc_id.sql
diff options
context:
space:
mode:
Diffstat (limited to 'maintenance/archives/patch-rc_id.sql')
-rw-r--r--maintenance/archives/patch-rc_id.sql7
1 files changed, 7 insertions, 0 deletions
diff --git a/maintenance/archives/patch-rc_id.sql b/maintenance/archives/patch-rc_id.sql
new file mode 100644
index 00000000..6dd9ef4a
--- /dev/null
+++ b/maintenance/archives/patch-rc_id.sql
@@ -0,0 +1,7 @@
+-- Primary key in recentchanges
+
+ALTER TABLE /*$wgDBprefix*/recentchanges
+ ADD rc_id int(8) NOT NULL auto_increment,
+ ADD PRIMARY KEY rc_id (rc_id);
+
+