mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-05 23:29:00 +02:00
[migration] disable betaProgram in CE/SP (#9418)
GitOrigin-RevId: aee509973d1ffaaab8dcac31667154f36c815a2c
This commit is contained in:
@@ -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 () => {}
|
||||
Reference in New Issue
Block a user