Welcome to mirror list, hosted at ThFree Co, Russian Federation.

20200507221434_add_container_registry_features_to_application_settings.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: fbbf2306f81b92819054c5cf95e583bb22f4a801 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

class AddContainerRegistryFeaturesToApplicationSettings < ActiveRecord::Migration[6.0]
  DOWNTIME = false

  def up
    add_column :application_settings, :container_registry_features, :text, array: true, default: [], null: false
  end

  def down
    remove_column :application_settings, :container_registry_features
  end
end