Skip to content

Commit

Permalink
🛠 knex-migrator 1.0.0 (#7873)
Browse files Browse the repository at this point in the history
refs #7489 

Most important change is the naming of the knex-migrator config file.
  • Loading branch information
kirrg001 committed Jan 23, 2017
1 parent 78eacb1 commit 89ef60f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions .knex-migrator → MigratorConfig.js
@@ -1,10 +1,8 @@
#!/usr/bin/env node

var config = require('./core/server/config'),
versioning = require('./core/server/data/schema/versioning');

module.exports = {
currentVersion: versioning.getNewestDatabaseVersion(),
database: config.get('database'),
migrationPath: config.get('paths:migrationPath')
}
};
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -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});
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -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",
Expand Down

0 comments on commit 89ef60f

Please sign in to comment.