mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-27 02:37:43 +00:00
Merge pull request #22890 from overleaf/msm-fix-migrations
Fix module import in migrations GitOrigin-RevId: 462eb54c68942118f3f76b166c3f27d923227e6c
This commit is contained in:
parent
9f1b6d480b
commit
68dcacea93
1 changed files with 3 additions and 2 deletions
|
@ -1,9 +1,10 @@
|
|||
import runScript from '../modules/server-ce-scripts/scripts/upgrade-user-features.mjs'
|
||||
|
||||
const tags = ['server-ce', 'server-pro']
|
||||
|
||||
const migrate = async () => {
|
||||
// Run-time import as SaaS does not ship with the server-ce-scripts module
|
||||
const { default: runScript } = await import(
|
||||
'../modules/server-ce-scripts/scripts/upgrade-user-features.mjs'
|
||||
)
|
||||
await runScript(false, {
|
||||
gitBridge: 1,
|
||||
})
|
||||
|
|
Loading…
Add table
Reference in a new issue