Welcome to mirror list, hosted at ThFree Co, Russian Federation.

20240105000001_cleanup_workspaces_url_domain_to_dns_zone_rename.rb « post_migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d37d0c9a5af9a6cb2bad21810f2bf7fcf7b7ffc8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# frozen_string_literal: true

class CleanupWorkspacesUrlDomainToDnsZoneRename < Gitlab::Database::Migration[2.2]
  milestone '16.8'

  disable_ddl_transaction!

  def up
    cleanup_concurrent_column_rename :workspaces, :url_domain, :dns_zone
  end

  def down
    undo_cleanup_concurrent_column_rename :workspaces, :url_domain, :dns_zone
  end
end