Commit 5554eb16 authored by Jeroen van Baarsen's avatar Jeroen van Baarsen

Fixed some hound notices

parent 802087c9
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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment