feat(instructeurs/procedures#show): add dossier experiant in procedure#show
This commit is contained in:
parent
2dfbc70d41
commit
d87f8b57cc
7 changed files with 53 additions and 9 deletions
|
@ -0,0 +1,10 @@
|
|||
class AddExpirantsToProcedurePresentations < ActiveRecord::Migration[6.1]
|
||||
def up
|
||||
ProcedurePresentation.update_all(%Q(filters = filters || '{"expirant": []}'))
|
||||
change_column_default :procedure_presentations, :filters, {"tous"=>[], "suivis"=>[], "traites"=>[], "a-suivre"=>[], "archives"=>[], "expirant": []}
|
||||
end
|
||||
|
||||
def down
|
||||
change_column_default :procedure_presentations, :filters, {"tous"=>[], "suivis"=>[], "traites"=>[], "a-suivre"=>[], "archives"=>[]}
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue