blob: 887a7da0a741ca0efc629646751a4fc77e1d070a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# frozen_string_literal: true
class AddTextLimitToGloballyAllowedIpsOnApplicationSettings < Gitlab::Database::Migration[2.0]
disable_ddl_transaction!
def up
add_text_limit :application_settings, :globally_allowed_ips, 255
end
def down
remove_text_limit :application_settings, :globally_allowed_ips
end
end
|