Commit 0f4cc5cd authored by Thong Kuah's avatar Thong Kuah

Correctly undo concurrent rename

Use the method that will remove the right trigger. Previously, it seems
we did not remove the trigger from the up method at all.
parent a579fa36
......@@ -12,6 +12,6 @@ class RenameApplicationSettingsSnowplowCollectorUriColumn < ActiveRecord::Migrat
end
def down
cleanup_concurrent_column_rename :application_settings, :snowplow_collector_hostname, :snowplow_collector_uri
undo_rename_column_concurrently :application_settings, :snowplow_collector_uri, :snowplow_collector_hostname
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment