blob: 36408ad19ed4a559459b035ef555881ff28fda69 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# frozen_string_literal: true
class RemoveNamespaceSettingsCohortFreeUserCapColumns < Gitlab::Database::Migration[2.0]
enable_lock_retries!
def up
remove_column :namespace_settings, :exclude_from_free_user_cap
remove_column :namespace_settings, :include_for_free_user_cap_preview
end
def down
add_column :namespace_settings, :exclude_from_free_user_cap, :boolean, null: false, default: false
add_column :namespace_settings, :include_for_free_user_cap_preview, :boolean, null: false, default: false
end
end
|