1
0
Fork 0
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:
Chocobozzz 2016-06-24 17:42:51 +02:00
parent 07d9320387
commit aaf61f3810
15 changed files with 412 additions and 534 deletions

View file

@ -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')