Add support for per-user limits on the rate changes can be made
This commit is contained in:
parent
c6bb4a5f4e
commit
2f11b77309
5 changed files with 146 additions and 0 deletions
6
lib/tasks/update_functions.rake
Normal file
6
lib/tasks/update_functions.rake
Normal file
|
@ -0,0 +1,6 @@
|
|||
namespace :db do
|
||||
desc "Update database function definitions"
|
||||
task :update_functions => :environment do
|
||||
ActiveRecord::Base.connection.execute DatabaseFunctions::API_RATE_LIMIT
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue