[migration] disable betaProgram in CE/SP (#9418)

GitOrigin-RevId: aee509973d1ffaaab8dcac31667154f36c815a2c
This commit is contained in:
Miguel Serrano
2022-09-01 09:16:48 +02:00
committed by Copybot
parent 14621e35e1
commit 0cc77fb4de
@@ -0,0 +1,11 @@
exports.tags = ['server-ce', 'server-pro']
exports.migrate = async client => {
const { db } = client
await db.users.updateMany(
{},
{ $set: { alphaProgram: false, betaProgram: false } }
)
}
exports.rollback = async () => {}