Add support for per-user limits on the size of changes that can be made
This commit is contained in:
parent
80ccf1d4c2
commit
f61ac2586f
5 changed files with 133 additions and 0 deletions
|
@ -2,5 +2,6 @@ namespace :db do
|
|||
desc "Update database function definitions"
|
||||
task :update_functions => :environment do
|
||||
ActiveRecord::Base.connection.execute DatabaseFunctions::API_RATE_LIMIT
|
||||
ActiveRecord::Base.connection.execute DatabaseFunctions::API_SIZE_LIMIT
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue