femslash-city/migrations/113_site_suggestions_index.rb

10 lines
174 B
Ruby
Raw Permalink Normal View History

Sequel.migration do
up {
DB.add_index :sites, [:follow_count, :updated_at, :views]
}
down {
DB.drop_index :sites, [:follow_count, :updated_at, :views]
}
end