mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 09:17:08 +08:00
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
Block a user