demarches-normaliennes/db/migrate/20190920122228_add_indexes_to_dossier.rb
2024-08-22 09:26:48 +02:00

9 lines
217 B
Ruby

# 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