Merge branch 'fix-another-migration' into 'master'

Prevent another migration from failing due to indirect use of model columns not yet created

See https://github.com/gitlabhq/gitlabhq/issues/8817#issuecomment-76007077

cc @marin

See merge request !1597
This commit is contained in:
Dmitriy Zaporozhets 2015-02-26 02:53:37 +00:00
commit 78391fe5a0

View file

@ -10,7 +10,7 @@ class MoveSlackServiceToWebhook < ActiveRecord::Migration
slack_service.properties.delete('subdomain')
# Room is configured on the Slack side
slack_service.properties.delete('room')
slack_service.save
slack_service.save(validate: false)
end
end
end