summaryrefslogtreecommitdiff
path: root/db/migrate/20220712144843_rename_jira_tracker_data_service_id_to_integration_id.rb
blob: 5971c68bd93219f23f853481fb7536117a5b0e43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

class RenameJiraTrackerDataServiceIdToIntegrationId < Gitlab::Database::Migration[2.0]
  disable_ddl_transaction!

  def up
    rename_column_concurrently :jira_tracker_data, :service_id, :integration_id
  end

  def down
    undo_rename_column_concurrently :jira_tracker_data, :service_id, :integration_id
  end
end