Follow up - a9984adbc5
- Fixes #3215: Channel attribute name
does not exist and should be area
instead.
This commit is contained in:
parent
a9984adbc5
commit
8e479ef4ee
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ class Issue3215RenameExistingOffice365 < ActiveRecord::Migration[5.2]
|
||||||
# migrate existing Channels and ExternalCredential to new name
|
# migrate existing Channels and ExternalCredential to new name
|
||||||
|
|
||||||
# rubocop:disable Rails/SkipsModelValidations
|
# rubocop:disable Rails/SkipsModelValidations
|
||||||
Channel.where(area: 'Office365::Account').update_all(name: 'Microsoft365::Account')
|
Channel.where(area: 'Office365::Account').update_all(area: 'Microsoft365::Account')
|
||||||
ExternalCredential.where(name: 'office365').update_all(name: 'microsoft365')
|
ExternalCredential.where(name: 'office365').update_all(name: 'microsoft365')
|
||||||
# rubocop:enable Rails/SkipsModelValidations
|
# rubocop:enable Rails/SkipsModelValidations
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue