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

15 lines
380 B
JavaScript
Raw Normal View History

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