aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/database.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/initializers/database.js')
-rw-r--r--server/initializers/database.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/server/initializers/database.js b/server/initializers/database.js
index 830cc7dd8..5932a978b 100644
--- a/server/initializers/database.js
+++ b/server/initializers/database.js
@@ -5,6 +5,9 @@ const mongoose = require('mongoose')
5 5
6const logger = require('../helpers/logger') 6const logger = require('../helpers/logger')
7 7
8// Bootstrap models
9require('../models/video')
10
8const dbname = 'peertube' + config.get('database.suffix') 11const dbname = 'peertube' + config.get('database.suffix')
9const host = config.get('database.host') 12const host = config.get('database.host')
10const port = config.get('database.port') 13const port = config.get('database.port')