]> git.openstreetmap.org Git - rails.git/blob - lib/tasks/update_functions.rake
Keep zeitwerk at 2.6 for ruby 3.1 support
[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