BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
63c5b541
Commit
63c5b541
authored
Feb 08, 2017
by
Douwe Maan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Satisfy the new rubocop :)
parent
b0afed1a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
20160519203051_add_developers_can_merge_to_protected_branches.rb
...9203051_add_developers_can_merge_to_protected_branches.rb
+5
-1
20160801163709_add_submitted_as_ham_to_spam_logs.rb
...grate/20160801163709_add_submitted_as_ham_to_spam_logs.rb
+5
-1
No files found.
db/migrate/20160519203051_add_developers_can_merge_to_protected_branches.rb
View file @
63c5b541
...
...
@@ -3,7 +3,11 @@ class AddDevelopersCanMergeToProtectedBranches < ActiveRecord::Migration
disable_ddl_transaction!
def
change
def
up
add_column_with_default
:protected_branches
,
:developers_can_merge
,
:boolean
,
default:
false
,
allow_null:
false
end
def
down
remove_column
:protected_branches
,
:developers_can_merge
end
end
db/migrate/20160801163709_add_submitted_as_ham_to_spam_logs.rb
View file @
63c5b541
...
...
@@ -14,7 +14,11 @@ class AddSubmittedAsHamToSpamLogs < ActiveRecord::Migration
disable_ddl_transaction!
def
change
def
up
add_column_with_default
:spam_logs
,
:submitted_as_ham
,
:boolean
,
default:
false
end
def
down
remove_column
:spam_logs
,
:submitted_as_ham
end
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