mirror of
https://github.com/discourse/discourse.git
synced 2026-08-07 13:19:19 +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
Vendored
7 lines
202 B
Ruby
Vendored
# frozen_string_literal: true
|
|
|
|
class AddExcerptToTopicLocalization < ActiveRecord::Migration[7.2]
|
|
def change
|
|
add_column :topic_localizations, :excerpt, :string, null: true, default: nil
|
|
end
|
|
end
|