Commit 50aa3923 authored by Stan Hu's avatar Stan Hu

Merge branch 'fix-migration-rc1-rollback' into 'master'

Fix rollback for an EE migration

See merge request !1425
parents 0c5f5ec8 47746b5c
...@@ -26,11 +26,11 @@ class AddAccessKeysToGeoNodes < ActiveRecord::Migration ...@@ -26,11 +26,11 @@ class AddAccessKeysToGeoNodes < ActiveRecord::Migration
end end
def down def down
remove_index :geo_nodes, :access_key
remove_column :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
remove_column :geo_nodes, :encrypted_secret_access_key_iv remove_column :geo_nodes, :encrypted_secret_access_key_iv
remove_index :geo_nodes, :access_key
end end
private 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