1
0
Fork 0
mirror of https://github.com/overleaf/overleaf.git synced 2025-02-24 08:53:05 +00:00
overleaf/services/web/migrations/20220826104236_disable_alpha_beta_program.js
Miguel Serrano 01a1546639 [migration] disable betaProgram in CE/SP ()
GitOrigin-RevId: aee509973d1ffaaab8dcac31667154f36c815a2c
2022-09-01 08:03:41 +00:00

11 lines
240 B
JavaScript

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 () => {}