🛠 knex-migrator 1.0.0 (#7873)

refs #7489 

Most important change is the naming of the knex-migrator config file.
This commit is contained in:
Katharina Irrgang 2017-01-23 12:32:17 +01:00 committed by GitHub
parent 78eacb19e9
commit 89ef60fdba
3 changed files with 3 additions and 5 deletions

View File

@ -1,5 +1,3 @@
#!/usr/bin/env node
var config = require('./core/server/config'),
versioning = require('./core/server/data/schema/versioning');
@ -7,4 +5,4 @@ module.exports = {
currentVersion: versioning.getNewestDatabaseVersion(),
database: config.get('database'),
migrationPath: config.get('paths:migrationPath')
}
};

View File

@ -23,7 +23,7 @@ ghost().then(function (ghostServer) {
}
});
}).catch(function (error) {
if (!(error instanceof errors.GhostError)) {
if (!(error instanceof errors.IgnitionError)) {
error = new errors.GhostError({err: error});
}

View File

@ -60,7 +60,7 @@
"intl-messageformat": "1.3.0",
"jsonpath": "0.2.9",
"knex": "0.12.5",
"knex-migrator": "0.2.0",
"knex-migrator": "1.0.0",
"lodash": "4.17.4",
"mobiledoc-html-renderer": "0.3.1",
"moment": "2.17.1",