mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 22:26:29 +08:00
ffb8cb8cac
PERF: cache fancy_title in topics table New pure ruby implementation is far more flexible and easier to amend.
6 lines
146 B
Ruby
6 lines
146 B
Ruby
class AddFancyTitleToTopic < ActiveRecord::Migration
|
|
def change
|
|
add_column :topics, :fancy_title, :string, limit: 400, null: true
|
|
end
|
|
end
|