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

14 lines
334 B
Ruby
Raw Normal View History

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