summaryrefslogtreecommitdiff
path: root/db/post_migrate/20221228163035_cleanup_appearances_short_title_rename.rb
blob: 300d53f227a3a1ae1405f0d98b5d072595cba3ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

class CleanupAppearancesShortTitleRename < Gitlab::Database::Migration[2.1]
  disable_ddl_transaction!

  def up
    cleanup_concurrent_column_rename :appearances, :short_title, :pwa_short_name
  end

  def down
    undo_cleanup_concurrent_column_rename :appearances, :short_title, :pwa_short_name
  end
end