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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
1e02e531
Commit
1e02e531
authored
Aug 23, 2018
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable packages feature for projects by default
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
47899fb3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
db/schema.rb
db/schema.rb
+1
-1
ee/db/migrate/20180823132905_add_packages_enabled_to_project.rb
...migrate/20180823132905_add_packages_enabled_to_project.rb
+1
-1
No files found.
db/schema.rb
View file @
1e02e531
...
...
@@ -2229,7 +2229,7 @@ ActiveRecord::Schema.define(version: 20180823132905) do
t
.
boolean
"mirror_overwrites_diverged_branches"
t
.
boolean
"pages_https_only"
,
default:
true
t
.
string
"external_webhook_token"
t
.
boolean
"packages_enabled"
,
default:
fals
e
,
null:
false
t
.
boolean
"packages_enabled"
,
default:
tru
e
,
null:
false
end
add_index
"projects"
,
[
"ci_id"
],
name:
"index_projects_on_ci_id"
,
using: :btree
...
...
ee/db/migrate/20180823132905_add_packages_enabled_to_project.rb
View file @
1e02e531
...
...
@@ -7,7 +7,7 @@ class AddPackagesEnabledToProject < ActiveRecord::Migration
disable_ddl_transaction!
def
up
add_column_with_default
(
:projects
,
:packages_enabled
,
:boolean
,
default:
fals
e
,
allow_null:
false
)
add_column_with_default
(
:projects
,
:packages_enabled
,
:boolean
,
default:
tru
e
,
allow_null:
false
)
end
def
down
...
...
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