debian-mirror-gitlab/db/migrate/20221228161214_rename_appearances_short_title_to_pwa_short_name.rb
2023-03-17 16:20:25 +05:30

14 lines
334 B
Ruby

# frozen_string_literal: true
class RenameAppearancesShortTitleToPwaShortName < Gitlab::Database::Migration[2.1]
disable_ddl_transaction!
def up
rename_column_concurrently :appearances, :short_title, :pwa_short_name
end
def down
undo_rename_column_concurrently :appearances, :short_title, :pwa_short_name
end
end