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