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
Jérome Perrin
gitlab-ce
Commits
90ae445b
Commit
90ae445b
authored
May 09, 2016
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'rs-remove-wall_enabled' into 'master'
Remove `wall_enabled` field from Project See merge request !4089
parents
0a103e98
0e29653f
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
6 additions
and
7 deletions
+6
-7
app/models/project.rb
app/models/project.rb
+0
-2
config/gitlab.teatro.yml
config/gitlab.teatro.yml
+0
-1
db/migrate/20160508194200_remove_wall_enabled_from_projects.rb
...grate/20160508194200_remove_wall_enabled_from_projects.rb
+5
-0
db/schema.rb
db/schema.rb
+1
-2
spec/factories/projects.rb
spec/factories/projects.rb
+0
-1
spec/models/project_spec.rb
spec/models/project_spec.rb
+0
-1
No files found.
app/models/project.rb
View file @
90ae445b
...
...
@@ -10,7 +10,6 @@
# updated_at :datetime
# creator_id :integer
# issues_enabled :boolean default(TRUE), not null
# wall_enabled :boolean default(TRUE), not null
# merge_requests_enabled :boolean default(TRUE), not null
# wiki_enabled :boolean default(TRUE), not null
# namespace_id :integer
...
...
@@ -67,7 +66,6 @@ class Project < ActiveRecord::Base
default_value_for
:merge_requests_enabled
,
gitlab_config_features
.
merge_requests
default_value_for
:builds_enabled
,
gitlab_config_features
.
builds
default_value_for
:wiki_enabled
,
gitlab_config_features
.
wiki
default_value_for
:wall_enabled
,
false
default_value_for
:snippets_enabled
,
gitlab_config_features
.
snippets
default_value_for
(
:shared_runners_enabled
)
{
current_application_settings
.
shared_runners_enabled
}
...
...
config/gitlab.teatro.yml
View file @
90ae445b
...
...
@@ -15,7 +15,6 @@ production: &base
issues
:
true
merge_requests
:
true
wiki
:
true
wall
:
false
snippets
:
false
visibility_level
:
"
private"
# can be "private" | "internal" | "public"
...
...
db/migrate/20160508194200_remove_wall_enabled_from_projects.rb
0 → 100644
View file @
90ae445b
class
RemoveWallEnabledFromProjects
<
ActiveRecord
::
Migration
def
change
remove_column
:projects
,
:wall_enabled
,
:boolean
,
default:
true
,
null:
false
end
end
db/schema.rb
View file @
90ae445b
...
...
@@ -11,7 +11,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord
::
Schema
.
define
(
version:
20160
421130527
)
do
ActiveRecord
::
Schema
.
define
(
version:
20160
508194200
)
do
# These are extensions that must be enabled in order to support this database
enable_extension
"plpgsql"
...
...
@@ -728,7 +728,6 @@ ActiveRecord::Schema.define(version: 20160421130527) do
t
.
datetime
"updated_at"
t
.
integer
"creator_id"
t
.
boolean
"issues_enabled"
,
default:
true
,
null:
false
t
.
boolean
"wall_enabled"
,
default:
true
,
null:
false
t
.
boolean
"merge_requests_enabled"
,
default:
true
,
null:
false
t
.
boolean
"wiki_enabled"
,
default:
true
,
null:
false
t
.
integer
"namespace_id"
...
...
spec/factories/projects.rb
View file @
90ae445b
...
...
@@ -10,7 +10,6 @@
# updated_at :datetime
# creator_id :integer
# issues_enabled :boolean default(TRUE), not null
# wall_enabled :boolean default(TRUE), not null
# merge_requests_enabled :boolean default(TRUE), not null
# wiki_enabled :boolean default(TRUE), not null
# namespace_id :integer
...
...
spec/models/project_spec.rb
View file @
90ae445b
...
...
@@ -10,7 +10,6 @@
# updated_at :datetime
# creator_id :integer
# issues_enabled :boolean default(TRUE), not null
# wall_enabled :boolean default(TRUE), not null
# merge_requests_enabled :boolean default(TRUE), not null
# wiki_enabled :boolean default(TRUE), not null
# namespace_id :integer
...
...
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