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.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/initializers/database.js b/server/initializers/database.js
index 5932a978b..d0d969663 100644
--- a/server/initializers/database.js
+++ b/server/initializers/database.js
@@ -7,6 +7,8 @@ const logger = require('../helpers/logger')
7 7
8// Bootstrap models 8// Bootstrap models
9require('../models/video') 9require('../models/video')
10// Request model needs Video model
11require('../models/request')
10 12
11const dbname = 'peertube' + config.get('database.suffix') 13const dbname = 'peertube' + config.get('database.suffix')
12const host = config.get('database.host') 14const host = config.get('database.host')