aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/migrations/0005-example.js
blob: 481c2c4dd8a53d49deb29aa494e9d399a2668afb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/*
  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.')
}