summaryrefslogtreecommitdiff
path: root/maintenance/archives/patch-user_newpass_time.sql
diff options
context:
space:
mode:
Diffstat (limited to 'maintenance/archives/patch-user_newpass_time.sql')
-rw-r--r--maintenance/archives/patch-user_newpass_time.sql4
1 files changed, 4 insertions, 0 deletions
diff --git a/maintenance/archives/patch-user_newpass_time.sql b/maintenance/archives/patch-user_newpass_time.sql
new file mode 100644
index 00000000..47b332ba
--- /dev/null
+++ b/maintenance/archives/patch-user_newpass_time.sql
@@ -0,0 +1,4 @@
+-- Timestamp of the last time when a new password was
+-- sent, for throttling purposes
+ALTER TABLE /*$wgDBprefix*/user ADD user_newpass_time char(14) binary;
+