]> git.openstreetmap.org Git - rails.git/blob - lib/tasks/update_functions.rake
Merge remote-tracking branch 'upstream/pull/5391'
[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