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

10 lines
217 B
Ruby
Raw Normal View History

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