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