]> git.openstreetmap.org Git - rails.git/blob - lib/tasks/update_functions.rake
Add frozen_string_literal comments to ruby files
[rails.git] / lib / tasks / update_functions.rake
1 # frozen_string_literal: true
2
3 namespace :db do
4   desc "Update database function definitions"
5   task :update_functions => :environment do
6     ActiveRecord::Base.connection.execute DatabaseFunctions::API_RATE_LIMIT
7     ActiveRecord::Base.connection.execute DatabaseFunctions::API_SIZE_LIMIT
8   end
9 end