diff --git a/db/migrate/20161117000003_store_config_name_update_issue_428.rb b/db/migrate/20161117000003_store_config_name_update_issue_428.rb index a8146c853..b58668ed2 100644 --- a/db/migrate/20161117000003_store_config_name_update_issue_428.rb +++ b/db/migrate/20161117000003_store_config_name_update_issue_428.rb @@ -3,7 +3,7 @@ class StoreConfigNameUpdateIssue428 < ActiveRecord::Migration # return if it's a new setup return if !Setting.find_by(name: 'system_init_done') setting = Setting.find_by(name: 'storage') - return if !Setting + return if !setting setting.name = 'storage_provider' setting.options = { form: [