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

15 lines
380 B
JavaScript

// /*
// 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.')
// }