summaryrefslogtreecommitdiff
path: root/www/wiki/maintenance/archives/patch-change_tag-ct_id.sql
diff options
context:
space:
mode:
Diffstat (limited to 'www/wiki/maintenance/archives/patch-change_tag-ct_id.sql')
-rw-r--r--www/wiki/maintenance/archives/patch-change_tag-ct_id.sql5
1 files changed, 5 insertions, 0 deletions
diff --git a/www/wiki/maintenance/archives/patch-change_tag-ct_id.sql b/www/wiki/maintenance/archives/patch-change_tag-ct_id.sql
new file mode 100644
index 00000000..7b986d67
--- /dev/null
+++ b/www/wiki/maintenance/archives/patch-change_tag-ct_id.sql
@@ -0,0 +1,5 @@
+-- Primary key in change_tag table
+
+ALTER TABLE /*$wgDBprefix*/change_tag
+ ADD COLUMN ct_id INT UNSIGNED NOT NULL AUTO_INCREMENT FIRST,
+ ADD PRIMARY KEY (ct_id);