diff options
Diffstat (limited to 'db/migrate/20220331125725_add_title_to_topic.rb')
-rw-r--r-- | db/migrate/20220331125725_add_title_to_topic.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/db/migrate/20220331125725_add_title_to_topic.rb b/db/migrate/20220331125725_add_title_to_topic.rb new file mode 100644 index 00000000000..0c6ccb6beb9 --- /dev/null +++ b/db/migrate/20220331125725_add_title_to_topic.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +class AddTitleToTopic < Gitlab::Database::Migration[1.0] + # rubocop:disable Migration/AddLimitToTextColumns + # limit is added in 20220331130726_add_text_limit_to_topics_title.rb + def change + add_column :topics, :title, :text + end + # rubocop:enable Migration/AddLimitToTextColumns +end |