debian-mirror-gitlab/db/migrate/20180308125206_add_user_internal_regex_to_application_setting.rb

14 lines
339 B
Ruby
Raw Normal View History

2019-02-15 15:39:39 +05:30
class AddUserInternalRegexToApplicationSetting < ActiveRecord::Migration[4.2]
2018-11-20 20:47:30 +05:30
include Gitlab::Database::MigrationHelpers
DOWNTIME = false
def up
add_column :application_settings, :user_default_internal_regex, :string, null: true
end
def down
remove_column :application_settings, :user_default_internal_regex
end
end