]> git.openstreetmap.org Git - rails.git/blob - lib/tasks/update_functions.rake
Add support for per-user limits on the size of changes that can be made
[rails.git] / lib / tasks / update_functions.rake
1 namespace :db do
2   desc "Update database function definitions"
3   task :update_functions => :environment do
4     ActiveRecord::Base.connection.execute DatabaseFunctions::API_RATE_LIMIT
5     ActiveRecord::Base.connection.execute DatabaseFunctions::API_SIZE_LIMIT
6   end
7 end