Ghost/core/server/data/db
Daniel Lockyer eb68e8d339 Added library for extracting database information
refs https://github.com/TryGhost/Toolbox/issues/175

- we're going to be making some changes in v5 wrt supported databases
- we needed a way of detecting the difference between MySQL 5 + 8,
  MariaDB etc
- I've created `@tryghost/database-info`, which is a small wrapper
  around `knex`, which returns this information
- this commit:
  - adds the library to Ghost
  - initializes the DB info library upon boot
  - updates the Admin API /config/ endpoint and UpdateCheck to return
    the new string - `mysql5`, `mysql8` etc
2022-01-18 09:31:08 +00:00
..
backup.js Change to use @tryghost/logging 2021-06-15 15:59:11 +01:00
connection.js Added perf-improving PRAGMAs in testing mode 2021-11-19 10:47:21 +00:00
index.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
info.js Added library for extracting database information 2022-01-18 09:31:08 +00:00
state-manager.js Revert "Revert "Extract logging from DI patterns, only use @tryghost/logging package"" (#13884) 2021-12-14 11:22:39 +00:00