mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-07 02:22:49 +08:00
Currently, topic excerpts are not localized. This commit adds the excerpt column into topic_localization and displays the localized excerpt if present.
7 lines
202 B
Ruby
7 lines
202 B
Ruby
# frozen_string_literal: true
|
|
|
|
class AddExcerptToTopicLocalization < ActiveRecord::Migration[7.2]
|
|
def change
|
|
add_column :topic_localizations, :excerpt, :string, null: true, default: nil
|
|
end
|
|
end
|