diff options
author | Jeroen van Baarsen <jeroenvanbaarsen@gmail.com> | 2014-04-14 17:24:37 +0400 |
---|---|---|
committer | Jeroen van Baarsen <jeroenvanbaarsen@gmail.com> | 2014-04-14 17:24:37 +0400 |
commit | 5554eb166b5cbce0145c3f6220142856742c1ca0 (patch) | |
tree | 8f75b7fbd49a1e2a0fb5fb662b0e9bc3b260be99 /db/migrate | |
parent | 802087c937d844d061cacff7fe1d44fd044ee91f (diff) |
Fixed some hound notices
Diffstat (limited to 'db/migrate')
-rw-r--r-- | db/migrate/20140414131055_change_state_to_allow_empty_merge_request_diffs.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/db/migrate/20140414131055_change_state_to_allow_empty_merge_request_diffs.rb b/db/migrate/20140414131055_change_state_to_allow_empty_merge_request_diffs.rb index e131cbd132a..1f6d85d5f66 100644 --- a/db/migrate/20140414131055_change_state_to_allow_empty_merge_request_diffs.rb +++ b/db/migrate/20140414131055_change_state_to_allow_empty_merge_request_diffs.rb @@ -1,9 +1,11 @@ class ChangeStateToAllowEmptyMergeRequestDiffs < ActiveRecord::Migration def up - change_column :merge_request_diffs, :state, :string, null: true, default: nil + change_column :merge_request_diffs, :state, :string, null: true, + default: nil end def down - change_column :merge_request_diffs, :state, :string, null: false, default: "collected" + change_column :merge_request_diffs, :state, :string, null: false, + default: 'collected' end end |