summaryrefslogtreecommitdiff
path: root/db/post_migrate/20170531203055_cleanup_users_ldap_email_rename.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/post_migrate/20170531203055_cleanup_users_ldap_email_rename.rb')
-rw-r--r--db/post_migrate/20170531203055_cleanup_users_ldap_email_rename.rb16
1 files changed, 0 insertions, 16 deletions
diff --git a/db/post_migrate/20170531203055_cleanup_users_ldap_email_rename.rb b/db/post_migrate/20170531203055_cleanup_users_ldap_email_rename.rb
deleted file mode 100644
index 3d75c7e3eaf..00000000000
--- a/db/post_migrate/20170531203055_cleanup_users_ldap_email_rename.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-class CleanupUsersLdapEmailRename < ActiveRecord::Migration[4.2]
- include Gitlab::Database::MigrationHelpers
-
- DOWNTIME = false
-
- disable_ddl_transaction!
-
- def up
- cleanup_concurrent_column_rename :users, :ldap_email, :external_email
- end
-
- def down
- # rubocop:disable Migration/UpdateLargeTable
- rename_column_concurrently :users, :external_email, :ldap_email
- end
-end