mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-24 19:33:02 +03:00
Fixed undefined variable references
- this was missed during the previous refactoring
This commit is contained in:
parent
3324ffc788
commit
52eb3181ee
@ -4,13 +4,13 @@ module.exports = class DatabaseInfo {
|
||||
*/
|
||||
constructor(knex) {
|
||||
this._knex = knex;
|
||||
this._client = this.knex.client;
|
||||
this._driver = this.client.config.client;
|
||||
this._client = this._knex.client;
|
||||
this._driver = this._client.config.client;
|
||||
|
||||
this._databaseDetails = {
|
||||
// The underlying driver that `knex` uses
|
||||
// ie. `sqlite3`, `mysql` or `mysql2`
|
||||
driver: this.driver,
|
||||
driver: this._driver,
|
||||
|
||||
// A capitalized version of the specific database used
|
||||
database: 'unknown',
|
||||
|
Loading…
Reference in New Issue
Block a user