debian-mirror-gitlab/db/migrate/20221228072549_add_pwa_attributes_to_appearances.rb
2023-04-23 21:23:45 +05:30

15 lines
432 B
Ruby

# frozen_string_literal: true
class AddPwaAttributesToAppearances < Gitlab::Database::Migration[2.1]
# rubocop:disable Migration/AddLimitToTextColumns
def up
add_column :appearances, :pwa_name, :text
add_column :appearances, :pwa_description, :text
end
# rubocop:enable Migration/AddLimitToTextColumns
def down
remove_column :appearances, :pwa_name
remove_column :appearances, :pwa_description
end
end