Skip to content

Commit

Permalink
feat: nettoyage setup_step_courante
Browse files Browse the repository at this point in the history
  • Loading branch information
totakoko committed Oct 12, 2023
1 parent 6e6193b commit 8cb378a
Showing 1 changed file with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import { Db } from "mongodb";

export const up = async (db: Db) => {
// nettoyage setup_step_courante suite à la revue du paramétrage des organismes
await db.collection("organismes").updateMany(
{},
{
$unset: {
setup_step_courante: 1,
},
},
{
bypassDocumentValidation: true,
}
);
};

0 comments on commit 8cb378a

Please sign in to comment.