]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - server/initializers/migrations/0005-example.js
Server: transaction serializable for videos
[github/Chocobozzz/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 // }