]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - server/initializers/migrations/0005-example.js
Server: add video abuse support
[github/Chocobozzz/PeerTube.git] / server / initializers / migrations / 0005-example.js
CommitLineData
f83e2795
C
1// /*
2// This is just an example.
3// */
b769007f 4
f83e2795 5// const db = require('../database')
b769007f 6
f83e2795
C
7// // options contains the transaction
8// exports.up = function (options, callback) {
9// db.Application.create({ migrationVersion: 42 }, { transaction: options.transaction }).asCallback(callback)
10// }
b769007f 11
f83e2795
C
12// exports.down = function (options, callback) {
13// throw new Error('Not implemented.')
14// }