summaryrefslogtreecommitdiff
path: root/db/migrate/20190823055948_change_clusters_namespace_per_environment_default.rb
blob: 919ce80786982117b2711617baf4970e76880bfe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# frozen_string_literal: true

# See http://doc.gitlab.com/ce/development/migration_style_guide.html
# for more information on how to write migrations for GitLab.

class ChangeClustersNamespacePerEnvironmentDefault < ActiveRecord::Migration[5.2]
  DOWNTIME = false

  def change
    change_column_default :clusters, :namespace_per_environment, from: false, to: true
  end
end