summaryrefslogtreecommitdiff
path: root/db/post_migrate/20190902160015_remove_support_bot_column_from_users.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/post_migrate/20190902160015_remove_support_bot_column_from_users.rb')
-rw-r--r--db/post_migrate/20190902160015_remove_support_bot_column_from_users.rb19
1 files changed, 0 insertions, 19 deletions
diff --git a/db/post_migrate/20190902160015_remove_support_bot_column_from_users.rb b/db/post_migrate/20190902160015_remove_support_bot_column_from_users.rb
deleted file mode 100644
index 80d69b57f5d..00000000000
--- a/db/post_migrate/20190902160015_remove_support_bot_column_from_users.rb
+++ /dev/null
@@ -1,19 +0,0 @@
-# frozen_string_literal: true
-
-class RemoveSupportBotColumnFromUsers < ActiveRecord::Migration[5.2]
- include Gitlab::Database::MigrationHelpers
-
- DOWNTIME = false
-
- disable_ddl_transaction!
-
- def up
- return unless column_exists?(:users, :support_bot)
-
- remove_column :users, :support_bot
- end
-
- def down
- # no-op because the column should not exist in the previous version
- end
-end