summaryrefslogtreecommitdiff
path: root/db/migrate/20220712094945_add_include_for_free_user_cap_preview_to_namespace_settings.rb
blob: 79e7182740844fd56f10530d6ddea366cb344f72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

class AddIncludeForFreeUserCapPreviewToNamespaceSettings < Gitlab::Database::Migration[2.0]
  enable_lock_retries!

  def up
    add_column :namespace_settings, :include_for_free_user_cap_preview, :boolean, null: false, default: false
  end

  def down
    remove_column :namespace_settings, :include_for_free_user_cap_preview
  end
end