mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 00:43:24 +08:00
7 lines
179 B
Ruby
7 lines
179 B
Ruby
class AddExtensionToTopicLinks < ActiveRecord::Migration
|
|
def change
|
|
add_column :topic_links, :extension, :string, limit: 10
|
|
add_index :topic_links, :extension
|
|
end
|
|
end
|