mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 19:42:24 +02:00
Video model refractoring -> use mongoose api
This commit is contained in:
parent
07d9320387
commit
aaf61f3810
15 changed files with 412 additions and 534 deletions
|
@ -5,6 +5,9 @@ const mongoose = require('mongoose')
|
|||
|
||||
const logger = require('../helpers/logger')
|
||||
|
||||
// Bootstrap models
|
||||
require('../models/video')
|
||||
|
||||
const dbname = 'peertube' + config.get('database.suffix')
|
||||
const host = config.get('database.host')
|
||||
const port = config.get('database.port')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue