diff options
Diffstat (limited to 'server/initializers/migrations/0005-example.js')
-rw-r--r-- | server/initializers/migrations/0005-example.js | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/server/initializers/migrations/0005-example.js b/server/initializers/migrations/0005-example.js index 481c2c4dd..cedc42919 100644 --- a/server/initializers/migrations/0005-example.js +++ b/server/initializers/migrations/0005-example.js | |||
@@ -1,14 +1,14 @@ | |||
1 | /* | 1 | // /* |
2 | This is just an example. | 2 | // This is just an example. |
3 | */ | 3 | // */ |
4 | 4 | ||
5 | const db = require('../database') | 5 | // const db = require('../database') |
6 | 6 | ||
7 | // options contains the transaction | 7 | // // options contains the transaction |
8 | exports.up = function (options, callback) { | 8 | // exports.up = function (options, callback) { |
9 | // db.Application.create({ migrationVersion: 42 }, { transaction: options.transaction }).asCallback(callback) | 9 | // db.Application.create({ migrationVersion: 42 }, { transaction: options.transaction }).asCallback(callback) |
10 | } | 10 | // } |
11 | 11 | ||
12 | exports.down = function (options, callback) { | 12 | // exports.down = function (options, callback) { |
13 | throw new Error('Not implemented.') | 13 | // throw new Error('Not implemented.') |
14 | } | 14 | // } |