Add support for per-user limits on the rate changes can be made

This commit is contained in:
Tom Hughes 2023-10-29 15:58:03 +00:00
parent c6bb4a5f4e
commit 2f11b77309
5 changed files with 146 additions and 0 deletions

View file

@ -0,0 +1,6 @@
namespace :db do
desc "Update database function definitions"
task :update_functions => :environment do
ActiveRecord::Base.connection.execute DatabaseFunctions::API_RATE_LIMIT
end
end