Commit f3f853ce authored by Ash McKenzie's avatar Ash McKenzie
Browse files

Merge branch '65251-default-clusters-namespace_per_environment-column-to-true' into 'master'

Default clusters namespace_per_environment to true

See merge request gitlab-org/gitlab-ce!32139
title: Default clusters namespace_per_environment column to true
merge_request: 32139
type: other
# frozen_string_literal: true
# See
# 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
......@@ -935,7 +935,7 @@
t.integer "cluster_type", limit: 2, default: 3, null: false
t.string "domain"
t.boolean "managed", default: true, null: false
t.boolean "namespace_per_environment", default: false, null: false
t.boolean "namespace_per_environment", default: true, null: false
t.index ["enabled"], name: "index_clusters_on_enabled"
t.index ["user_id"], name: "index_clusters_on_user_id"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment