mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-27 10:42:45 +03:00
🛠 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:
parent
78eacb19e9
commit
89ef60fdba
@ -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')
|
||||
}
|
||||
};
|
2
index.js
2
index.js
@ -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});
|
||||
}
|
||||
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user