Skip to content
Snippets Groups Projects
Commit 841129a0 authored by ArtOfCode-'s avatar ArtOfCode-
Browse files

Index last activity

parent 6bf3b85a
No related branches found
No related tags found
No related merge requests found
class AddIndexToLastActivity < ActiveRecord::Migration[5.2]
def change
add_index :posts, :last_activity
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment