diff options
author | Byron Jones <glob@mozilla.com> | 2014-10-31 08:20:42 +0100 |
---|---|---|
committer | Byron Jones <glob@mozilla.com> | 2014-10-31 08:20:42 +0100 |
commit | 908480c98aa48a9d1caf09ee00f3cfe0863afec2 (patch) | |
tree | a15dc741c3fe821865291a0789fda1607d2a67a4 /Bugzilla/DB | |
parent | f1fda7c8b9cf4646374cc708c14942e5feed82d1 (diff) | |
download | bugzilla-908480c98aa48a9d1caf09ee00f3cfe0863afec2.tar.gz bugzilla-908480c98aa48a9d1caf09ee00f3cfe0863afec2.tar.xz |
Bug 1062739: add the ability for administrators to limit the number of emails sent to a user per minute and hour
r=dylan,a=glob
Diffstat (limited to 'Bugzilla/DB')
-rw-r--r-- | Bugzilla/DB/Schema.pm | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Bugzilla/DB/Schema.pm b/Bugzilla/DB/Schema.pm index ebe2cb426..0698585bb 100644 --- a/Bugzilla/DB/Schema.pm +++ b/Bugzilla/DB/Schema.pm @@ -1640,6 +1640,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, |