From 26354d265c705ce839323270df841839d6072b29 Mon Sep 17 00:00:00 2001 From: Thomas Parisot <138627+thom4parisot@users.noreply.github.com> Date: Wed, 5 Mar 2025 09:39:24 +0100 Subject: [PATCH] =?UTF-8?q?chore(mongo):=20r=C3=A8gle=20la=20featureCompat?= =?UTF-8?q?ibility=20=C3=A0=204.4=20(#1318)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Thomas Parisot --- graphql/migrations/20250305092400-mongo44.js | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 graphql/migrations/20250305092400-mongo44.js diff --git a/graphql/migrations/20250305092400-mongo44.js b/graphql/migrations/20250305092400-mongo44.js new file mode 100644 index 000000000..363aeb88a --- /dev/null +++ b/graphql/migrations/20250305092400-mongo44.js @@ -0,0 +1,9 @@ +exports.up = async function (db) { + return db._run('executeDbAdminCommand', { + setFeatureCompatibilityVersion: '4.4', + }) +} + +exports.down = function () { + return null +}