]> git.openstreetmap.org Git - rails.git/blob - db/migrate/20240618193051_api_size_limit.rb
Merge branch 'pull/5260'
[rails.git] / db / migrate / 20240618193051_api_size_limit.rb
1 class ApiSizeLimit < ActiveRecord::Migration[7.1]
2   def up
3     safety_assured do
4       execute DatabaseFunctions::API_SIZE_LIMIT
5     end
6   end
7
8   def down
9     safety_assured do
10       execute "DROP FUNCTION api_size_limit(bigint)"
11     end
12   end
13 end