2017-06-09 19:56:18 +08:00
|
|
|
class AddExtensionToTopicLinks < ActiveRecord::Migration
|
|
|
|
def change
|
2017-07-04 01:06:54 +08:00
|
|
|
add_column :topic_links, :extension, :string, limit: 10
|
2017-06-20 19:01:31 +08:00
|
|
|
add_index :topic_links, :extension
|
2017-06-09 19:56:18 +08:00
|
|
|
end
|
|
|
|
end
|