aboutsummaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-12-27 18:33:38 +0100
committerChocobozzz <florian.bigard@gmail.com>2016-12-27 18:34:47 +0100
commit00d6a41e46e4c4948b0d5b4cf21433150a57c067 (patch)
tree8366fe4229c96b85b6f2d5e7c88c2565d43e0a50 /server
parent178edb20259f90b1c59f40728aaf8073f097f1f5 (diff)
downloadPeerTube-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.js1
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
3const bcrypt = require('bcrypt') 3const bcrypt = require('bcrypt')
4const crypto = require('crypto')
5const fs = require('fs') 4const fs = require('fs')
6const openssl = require('openssl-wrapper') 5const openssl = require('openssl-wrapper')
7const ursa = require('ursa') 6const ursa = require('ursa')