Commit 47746b5c authored by DJ Mountney's avatar DJ Mountney

Fix rollback for an EE migration

Move the index removal to be before the column removal
parent 0c5f5ec8
......@@ -26,11 +26,11 @@ class AddAccessKeysToGeoNodes < ActiveRecord::Migration
end
def down
remove_index :geo_nodes, :access_key
remove_column :geo_nodes, :access_key
remove_column :geo_nodes, :encrypted_secret_access_key
remove_column :geo_nodes, :encrypted_secret_access_key_iv
remove_index :geo_nodes, :access_key
end
private
......
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