blob: 0f3bf66dfa81896341b47c04e02f77b08f936da1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# frozen_string_literal: true
class AddTextLimitToPwaAttributes < Gitlab::Database::Migration[2.1]
disable_ddl_transaction!
def up
add_text_limit :appearances, :pwa_name, 255
add_text_limit :appearances, :pwa_description, 2048
end
def down
remove_text_limit :appearances, :pwa_name
remove_text_limit :appearances, :pwa_description
end
end
|