feat(migration): added a new script that add the freeWorkShop field as a...
Related to pamn_client#303 (closed)
What does this MR do and why?
Updates the following migration scripts:
-
remove-covid-infos: add try catch -
initializefreeworkshop: go through every structure to set the freeworkshop attribute inside of the categories array -
addfreeworkshopcategory: creates a new object in thecategoriescollection -
changedemarchestheme: theme ofDémarches en lignechanged toCompétences numériques
Resources
Pour la key freeWorkShop
- 4 cas normaux ('Oui', 'Oui, sous condition', 'Non', et null)
- 1 cas anormal ('underCondition' -> id: 60ab72656a9d4500313b865d)
Mathieu avait aussi repéré un false, mais pas vu
Edited by Pierre Ecarlat