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