Update migrations code
[oweals/peertube.git] / server / initializers / migrations / 0005-example.js
1 /*
2   This is just an example.
3 */
4
5 const db = require('../database')
6
7 // options contains the transaction
8 exports.up = function (options, callback) {
9   // db.Application.create({ migrationVersion: 42 }, { transaction: options.transaction }).asCallback(callback)
10 }
11
12 exports.down = function (options, callback) {
13   throw new Error('Not implemented.')
14 }