demarches-normaliennes/db/migrate/20151102104309_change_state_confirmed_to_validated.rb
2017-06-13 10:35:33 +02:00

5 lines
156 B
Ruby

class ChangeStateConfirmedToValidated < ActiveRecord::Migration
def change
Dossier.where(state: 'confirmed').update_all(state: 'validated')
end
end