diff options
Diffstat (limited to 'db/migrate/20221228072549_add_pwa_attributes_to_appearances.rb')
-rw-r--r-- | db/migrate/20221228072549_add_pwa_attributes_to_appearances.rb | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/db/migrate/20221228072549_add_pwa_attributes_to_appearances.rb b/db/migrate/20221228072549_add_pwa_attributes_to_appearances.rb new file mode 100644 index 00000000000..4c800d3305c --- /dev/null +++ b/db/migrate/20221228072549_add_pwa_attributes_to_appearances.rb @@ -0,0 +1,15 @@ +# 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 |