mission-apprentissage / referentiel

GNU Affero General Public License v3.0
3 stars 1 forks source link

UAI à supprimer sur 2 OF 82409268800186 / 82409268800012 #189

Closed FlavieSauvebois closed 3 months ago

FlavieSauvebois commented 3 months ago

Hello, Il faudrait supprimer l'UAI fiabilisée sur les 2 OF suivants : https://referentiel.apprentissage.onisep.fr/organismes/82409268800186 https://referentiel.apprentissage.onisep.fr/organismes/82409268800012

Merci

gasilber commented 3 months ago

UAI supprimées.

use referentiel
organismes = db.organismes
organismes.findOne({'siret':'82409268800186'})
organismes.updateOne(
  {"siret":"82409268800186"},
  { $unset: {"uai": ""}}
);
organismes.findOne({'siret':'82409268800012'})
organismes.updateOne(
  {"siret":"82409268800012"},
  { $unset: {"uai": ""}}
);
modifications = db.modifications
modifications.find({"siret": "82409268800186", "changements": {"uai":"0932751K"}})
modifications.deleteOne({"siret": "82409268800186", "changements": {"uai":"0932751K"}})
modifications.find({"siret": "82409268800012", "changements": {"uai":"0932751K"}})
modifications.deleteOne({"siret": "82409268800012", "changements": {"uai":"0932751K"}})