summaryrefslogtreecommitdiff
path: root/db/migrate/20161018124658_make_project_owners_masters.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20161018124658_make_project_owners_masters.rb')
-rw-r--r--db/migrate/20161018124658_make_project_owners_masters.rb18
1 files changed, 0 insertions, 18 deletions
diff --git a/db/migrate/20161018124658_make_project_owners_masters.rb b/db/migrate/20161018124658_make_project_owners_masters.rb
deleted file mode 100644
index 132c17388dc..00000000000
--- a/db/migrate/20161018124658_make_project_owners_masters.rb
+++ /dev/null
@@ -1,18 +0,0 @@
-# rubocop:disable Migration/UpdateColumnInBatches
-class MakeProjectOwnersMasters < ActiveRecord::Migration[4.2]
- include Gitlab::Database::MigrationHelpers
-
- DOWNTIME = false
-
- disable_ddl_transaction!
-
- def up
- update_column_in_batches(:members, :access_level, 40) do |table, query|
- query.where(table[:access_level].eq(50).and(table[:source_type].eq('Project')))
- end
- end
-
- def down
- # do nothing
- end
-end