Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
69bfe12a
Commit
69bfe12a
authored
Aug 23, 2019
by
Tiger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Default clusters namespace_per_environment to true
parent
cc3c1a66
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
1 deletion
+18
-1
changelogs/unreleased/65251-default-clusters-namespace_per_environment-column-to-true.yml
...ult-clusters-namespace_per_environment-column-to-true.yml
+5
-0
db/migrate/20190823055948_change_clusters_namespace_per_environment_default.rb
...5948_change_clusters_namespace_per_environment_default.rb
+12
-0
db/schema.rb
db/schema.rb
+1
-1
No files found.
changelogs/unreleased/65251-default-clusters-namespace_per_environment-column-to-true.yml
0 → 100644
View file @
69bfe12a
---
title
:
Default clusters namespace_per_environment column to
true
merge_request
:
32139
author
:
type
:
other
db/migrate/20190823055948_change_clusters_namespace_per_environment_default.rb
0 → 100644
View file @
69bfe12a
# 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
db/schema.rb
View file @
69bfe12a
...
...
@@ -935,7 +935,7 @@ ActiveRecord::Schema.define(version: 2019_08_28_083843) do
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:
fals
e
,
null:
false
t
.
boolean
"namespace_per_environment"
,
default:
tru
e
,
null:
false
t
.
index
[
"enabled"
],
name:
"index_clusters_on_enabled"
t
.
index
[
"user_id"
],
name:
"index_clusters_on_user_id"
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment