demarches-normaliennes/db/migrate/20190920122228_add_indexes_to_dossier.rb

8 lines
186 B
Ruby
Raw Normal View History

class AddIndexesToDossier < ActiveRecord::Migration[5.2]
def change
add_index :dossiers, :state
add_index :dossiers, :archived
add_index :follows, :unfollowed_at
end
end