]> git.openstreetmap.org Git - rails.git/blob - lib/tasks/update_functions.rake
Merge pull request #4884 from AntonKhorev/copyright-page-title
[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