Add index to extension column in TopicLink.
This commit is contained in:
parent
eaf46431d4
commit
67ce4b70a6
|
@ -1,5 +1,6 @@
|
|||
class AddExtensionToTopicLinks < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :topic_links, :extension, :string, limit: 5
|
||||
add_index :topic_links, :extension
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue