Improved migration.
This commit is contained in:
parent
2394a89e46
commit
31ab7a195f
1 changed files with 2 additions and 2 deletions
|
@ -39,7 +39,7 @@ class UpdateChannel < ActiveRecord::Migration
|
|||
channel.area = 'Email::Notification'
|
||||
options = {
|
||||
outbound: {
|
||||
adapter: channel.adapter,
|
||||
adapter: channel.adapter.downcase,
|
||||
options: channel.options,
|
||||
},
|
||||
}
|
||||
|
@ -47,7 +47,7 @@ class UpdateChannel < ActiveRecord::Migration
|
|||
channel.save
|
||||
elsif channel.area == 'Twitter::Inbound'
|
||||
channel.area = 'Twitter::Account'
|
||||
channel.options[:adapter] = channel.adapter
|
||||
channel.options[:adapter] = channel.adapter.downcase
|
||||
channel.save
|
||||
end
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue