demarches-normaliennes/db/migrate/20151102102747_change_statereply_to_replied.rb

6 lines
144 B
Ruby
Raw Normal View History

class ChangeStatereplyToReplied < ActiveRecord::Migration
def change
Dossier.where(state: 'reply').update_all(state: 'replied')
end
end