5 lines
156 B
Ruby
5 lines
156 B
Ruby
class ChangeStateConfirmedToValidated < ActiveRecord::Migration
|
|
def change
|
|
Dossier.where(state: 'confirmed').update_all(state: 'validated')
|
|
end
|
|
end
|