]> git.openstreetmap.org Git - rails.git/blob - lib/tasks/update_functions.rake
Move map layer ids/codes/keys to layer definition data
[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