diff options
Diffstat (limited to 'scripts/update-host.ts')
-rwxr-xr-x | scripts/update-host.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/update-host.ts b/scripts/update-host.ts index ba4656b75..eccf203ea 100755 --- a/scripts/update-host.ts +++ b/scripts/update-host.ts | |||
@@ -1,9 +1,9 @@ | |||
1 | import { getServerAccount } from '../server/helpers' | 1 | import { getServerAccount } from '../server/helpers' |
2 | import { initDatabase } from '../server/initializers' | 2 | import { initDatabaseModels } from '../server/initializers' |
3 | import { AccountFollowModel } from '../server/models/account/account-follow' | 3 | import { AccountFollowModel } from '../server/models/account/account-follow' |
4 | import { VideoModel } from '../server/models/video/video' | 4 | import { VideoModel } from '../server/models/video/video' |
5 | 5 | ||
6 | initDatabase(true) | 6 | initDatabaseModels(true) |
7 | .then(() => { | 7 | .then(() => { |
8 | return getServerAccount() | 8 | return getServerAccount() |
9 | }) | 9 | }) |