mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
[migration] disable betaProgram
in CE/SP (#9418)
GitOrigin-RevId: aee509973d1ffaaab8dcac31667154f36c815a2c
This commit is contained in:
parent
e93a4336bc
commit
01a1546639
1 changed files with 11 additions and 0 deletions
|
@ -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 () => {}
|
Loading…
Reference in a new issue