mirror of
https://github.com/discourse/discourse.git
synced 2026-07-29 15:54:48 -05:00
Add post_id index to topic_links
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
class AddPostIdIndexOnTopicLinks < ActiveRecord::Migration
|
||||
def up
|
||||
add_index :topic_links, :post_id
|
||||
end
|
||||
|
||||
def down
|
||||
remove_index :topic_links, :post_id
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user