]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - scripts/migrations/peertube-2.1.ts
Update translations
[github/Chocobozzz/PeerTube.git] / scripts / migrations / peertube-2.1.ts
index 892497a8892735b6d4b40e1ba03907bdee53c493..4bbc203c18afd1e93eb58853e68711d65286ed70 100644 (file)
@@ -1,14 +1,14 @@
 import { registerTSPaths } from '../../server/helpers/register-ts-paths'
 registerTSPaths()
 
-import { initDatabaseModels, sequelizeTypescript } from '../../server/initializers'
+import { initDatabaseModels, sequelizeTypescript } from '../../server/initializers/database'
 import * as Sequelize from 'sequelize'
 import { join } from 'path'
 import { HLS_STREAMING_PLAYLIST_DIRECTORY, STATIC_PATHS, WEBSERVER } from '@server/initializers/constants'
 import { pathExists, stat, writeFile } from 'fs-extra'
 import { createTorrentPromise } from '@server/helpers/webtorrent'
 import { CONFIG } from '@server/initializers/config'
-import * as parseTorrent from 'parse-torrent'
+import parseTorrent from 'parse-torrent'
 import { logger } from '@server/helpers/logger'
 
 run()