summaryrefslogtreecommitdiff
path: root/maintenance/archives/patch-user_editcount.sql
diff options
context:
space:
mode:
Diffstat (limited to 'maintenance/archives/patch-user_editcount.sql')
-rw-r--r--maintenance/archives/patch-user_editcount.sql5
1 files changed, 5 insertions, 0 deletions
diff --git a/maintenance/archives/patch-user_editcount.sql b/maintenance/archives/patch-user_editcount.sql
new file mode 100644
index 00000000..cdde36dc
--- /dev/null
+++ b/maintenance/archives/patch-user_editcount.sql
@@ -0,0 +1,5 @@
+ALTER TABLE /*$wgDBprefix*/user
+ ADD COLUMN user_editcount int;
+
+-- Don't initialize values immediately... or should we?
+-- They will be lazy-evaluated, or batch-filled via maintenance/initEditCount.php