mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 04:53:51 +08:00
7 lines
184 B
Ruby
7 lines
184 B
Ruby
class AddExtensionToTopicLinks < ActiveRecord::Migration[4.2]
|
|
def change
|
|
add_column :topic_links, :extension, :string, limit: 10
|
|
add_index :topic_links, :extension
|
|
end
|
|
end
|