diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-12-27 18:33:38 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-12-27 18:34:47 +0100 |
commit | 00d6a41e46e4c4948b0d5b4cf21433150a57c067 (patch) | |
tree | 8366fe4229c96b85b6f2d5e7c88c2565d43e0a50 /server | |
parent | 178edb20259f90b1c59f40728aaf8073f097f1f5 (diff) | |
download | PeerTube-00d6a41e46e4c4948b0d5b4cf21433150a57c067.tar.gz PeerTube-00d6a41e46e4c4948b0d5b4cf21433150a57c067.tar.zst PeerTube-00d6a41e46e4c4948b0d5b4cf21433150a57c067.zip |
Add script to migrate from mongodb to postgresql
Usage: NODE_ENV=production ./scripts/mongo-to-postgre.js --mongo-database peertube-prod
Diffstat (limited to 'server')
-rw-r--r-- | server/helpers/peertube-crypto.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/server/helpers/peertube-crypto.js b/server/helpers/peertube-crypto.js index 302ddca58..610cb16cd 100644 --- a/server/helpers/peertube-crypto.js +++ b/server/helpers/peertube-crypto.js | |||
@@ -1,7 +1,6 @@ | |||
1 | 'use strict' | 1 | 'use strict' |
2 | 2 | ||
3 | const bcrypt = require('bcrypt') | 3 | const bcrypt = require('bcrypt') |
4 | const crypto = require('crypto') | ||
5 | const fs = require('fs') | 4 | const fs = require('fs') |
6 | const openssl = require('openssl-wrapper') | 5 | const openssl = require('openssl-wrapper') |
7 | const ursa = require('ursa') | 6 | const ursa = require('ursa') |