[fix #504] Dossier: draft -> brouillon
This commit is contained in:
parent
56545933a9
commit
72bae2c374
34 changed files with 93 additions and 89 deletions
|
@ -1,4 +1,8 @@
|
|||
namespace :'2017_12_04_translate_dossier_state_to_french' do
|
||||
task brouillon: :environment do
|
||||
Dossier.unscoped.where(state: 'draft').update_all(state: 'brouillon')
|
||||
end
|
||||
|
||||
task en_construction: :environment do
|
||||
Dossier.unscoped.where(state: 'initiated').update_all(state: 'en_construction')
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue