aboutsummaryrefslogblamecommitdiffhomepage
path: root/server/initializers/migrations/0020-requests-endpoint.js
blob: 55feec5710af1c6c195b82128e880f45e52f83da (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                                       
/*
  Set the endpoint videos for requests.
*/

const mongoose = require('mongoose')

const Request = mongoose.model('Request')

exports.up = function (callback) {
  Request.update({ }, { endpoint: 'videos' }, callback)
}

exports.down = function (callback) {
  throw new Error('Not implemented.')
}