mirror of
https://github.com/openstreetmap/openstreetmap-website.git
synced 2025-08-16 17:07:06 +00:00
8 lines
269 B
Ruby
8 lines
269 B
Ruby
namespace :db do
|
|
desc "Update database function definitions"
|
|
task :update_functions => :environment do
|
|
ActiveRecord::Base.connection.execute DatabaseFunctions::API_RATE_LIMIT
|
|
ActiveRecord::Base.connection.execute DatabaseFunctions::API_SIZE_LIMIT
|
|
end
|
|
end
|