mirror of
https://github.com/discourse/discourse.git
synced 2025-06-06 13:06:56 +08:00
Add an index to improve querying some post custom fields.
This commit is contained in:
@ -0,0 +1,5 @@
|
|||||||
|
class AddIndexToPostCustomFields < ActiveRecord::Migration
|
||||||
|
def change
|
||||||
|
add_index :post_custom_fields, [:name, :value]
|
||||||
|
end
|
||||||
|
end
|
Reference in New Issue
Block a user