diff options
Diffstat (limited to 'db/post_migrate/20200211152410_remove_instance_from_services.rb')
-rw-r--r-- | db/post_migrate/20200211152410_remove_instance_from_services.rb | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/db/post_migrate/20200211152410_remove_instance_from_services.rb b/db/post_migrate/20200211152410_remove_instance_from_services.rb deleted file mode 100644 index 1f27455b541..00000000000 --- a/db/post_migrate/20200211152410_remove_instance_from_services.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -class RemoveInstanceFromServices < ActiveRecord::Migration[6.0] - include Gitlab::Database::MigrationHelpers - - DOWNTIME = false - - def up - return unless column_exists?(:services, :instance) - - undo_rename_column_concurrently :services, :template, :instance - end - - def down - # This migration should not be rolled back because it - # removes a column that got added in migrations that - # have been reverted in https://gitlab.com/gitlab-org/gitlab/-/merge_requests/24857 - end -end |