Applied rubocop.

This commit is contained in:
Martin Edenhofer 2015-09-26 08:59:05 +02:00
parent 9522047482
commit bef4c843c8

View file

@ -1,7 +1,6 @@
class UpdateSettings6 < ActiveRecord::Migration
def up
if Setting.column_names.include?('state')
rename_column :settings, :state, :state_current
end
return if !Setting.column_names.include?('state')
rename_column :settings, :state, :state_current
end
end