2019-01-03 12:48:30 +05:30
|
|
|
class AddUserInternalRegexToApplicationSetting < ActiveRecord::Migration
|
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
|