PeerTube/server/initializers/migrations/0005-example.js

15 lines
350 B
JavaScript
Raw Normal View History

2016-12-25 02:44:57 -06:00
/*
This is just an example.
*/
const db = require('../database')
// options contains the transaction
exports.up = function (options, callback) {
// db.Application.create({ migrationVersion: 42 }, { transaction: options.transaction }).asCallback(callback)
}
exports.down = function (options, callback) {
throw new Error('Not implemented.')
}