summaryrefslogtreecommitdiff
path: root/db/post_migrate/20170131214021_reset_users_authorized_projects_populated.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/post_migrate/20170131214021_reset_users_authorized_projects_populated.rb')
-rw-r--r--db/post_migrate/20170131214021_reset_users_authorized_projects_populated.rb18
1 files changed, 0 insertions, 18 deletions
diff --git a/db/post_migrate/20170131214021_reset_users_authorized_projects_populated.rb b/db/post_migrate/20170131214021_reset_users_authorized_projects_populated.rb
deleted file mode 100644
index 055a14ad729..00000000000
--- a/db/post_migrate/20170131214021_reset_users_authorized_projects_populated.rb
+++ /dev/null
@@ -1,18 +0,0 @@
-# rubocop:disable Migration/UpdateLargeTable
-# rubocop:disable Migration/UpdateColumnInBatches
-class ResetUsersAuthorizedProjectsPopulated < ActiveRecord::Migration[4.2]
- include Gitlab::Database::MigrationHelpers
-
- DOWNTIME = false
-
- disable_ddl_transaction!
-
- def up
- # This ensures we don't lock all users for the duration of the migration.
- update_column_in_batches(:users, :authorized_projects_populated, nil)
- end
-
- def down
- # noop
- end
-end