diff options
Diffstat (limited to 'scripts/migrations')
-rw-r--r-- | scripts/migrations/peertube-4.0.ts | 2 | ||||
-rw-r--r-- | scripts/migrations/peertube-4.2.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/migrations/peertube-4.0.ts b/scripts/migrations/peertube-4.0.ts index 9e5ca60d4..b0891c2e6 100644 --- a/scripts/migrations/peertube-4.0.ts +++ b/scripts/migrations/peertube-4.0.ts | |||
@@ -21,7 +21,7 @@ async function run () { | |||
21 | 21 | ||
22 | await initDatabaseModels(true) | 22 | await initDatabaseModels(true) |
23 | 23 | ||
24 | JobQueue.Instance.init(true) | 24 | JobQueue.Instance.init() |
25 | 25 | ||
26 | const ids = await VideoModel.listLocalIds() | 26 | const ids = await VideoModel.listLocalIds() |
27 | 27 | ||
diff --git a/scripts/migrations/peertube-4.2.ts b/scripts/migrations/peertube-4.2.ts index 6a9007265..513c629ef 100644 --- a/scripts/migrations/peertube-4.2.ts +++ b/scripts/migrations/peertube-4.2.ts | |||
@@ -27,7 +27,7 @@ async function run () { | |||
27 | console.log('Generate avatar miniatures from existing avatars.') | 27 | console.log('Generate avatar miniatures from existing avatars.') |
28 | 28 | ||
29 | await initDatabaseModels(true) | 29 | await initDatabaseModels(true) |
30 | JobQueue.Instance.init(true) | 30 | JobQueue.Instance.init() |
31 | 31 | ||
32 | const accounts: AccountModel[] = await AccountModel.findAll({ | 32 | const accounts: AccountModel[] = await AccountModel.findAll({ |
33 | include: [ | 33 | include: [ |