summaryrefslogtreecommitdiffstats
path: root/Bugzilla/DB
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2014-10-31 08:31:39 +0100
committerByron Jones <glob@mozilla.com>2014-10-31 08:31:39 +0100
commit2090798550ab0b713a4c6a366634835c767af219 (patch)
treed3f89cb34f2180450fda7ff94fd0d315ac85635e /Bugzilla/DB
parentb532ec33b7bbc3a19afa1344c080c43836d1a22f (diff)
downloadbugzilla-2090798550ab0b713a4c6a366634835c767af219.tar.gz
bugzilla-2090798550ab0b713a4c6a366634835c767af219.tar.xz
Bug 1092037: backport bug 1062739 to bmo (add the ability for administrators to limit the number of emails sent to a user per minute and hour)
Diffstat (limited to 'Bugzilla/DB')
-rw-r--r--Bugzilla/DB/Schema.pm12
1 files changed, 12 insertions, 0 deletions
diff --git a/Bugzilla/DB/Schema.pm b/Bugzilla/DB/Schema.pm
index 6d7648a3d..84989fa13 100644
--- a/Bugzilla/DB/Schema.pm
+++ b/Bugzilla/DB/Schema.pm
@@ -1617,6 +1617,18 @@ use constant ABSTRACT_SCHEMA => {
],
},
+ email_rates => {
+ FIELDS => [
+ id => {TYPE => 'INTSERIAL', NOTNULL => 1,
+ PRIMARYKEY => 1},
+ recipient => {TYPE => 'varchar(255)', NOTNULL => 1},
+ message_ts => {TYPE => 'DATETIME', NOTNULL => 1},
+ ],
+ INDEXES => [
+ email_rates_idx => [qw(recipient message_ts)],
+ ],
+ },
+
# THESCHWARTZ TABLES
# ------------------
# Note: In the standard TheSchwartz schema, most integers are unsigned,