add index on post_versions.updated_at
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
class AddIndexUpdatedAtOnPostVersions < ActiveRecord::Migration
|
||||
def up
|
||||
add_index :post_versions, :updated_at
|
||||
end
|
||||
|
||||
def down
|
||||
remove_index :post_versions, :updated_at
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user