Aliased mysql to mysql2 in schema client

refs https://github.com/TryGhost/Toolbox/issues/174

- this just uses the same SQL queries for certain queries when using the
  `mysql2` library as when using the `mysql` one
- we can remove the `mysql` line when we fully switch to `mysql2`
This commit is contained in:
Daniel Lockyer 2022-03-02 15:37:26 +01:00
parent 47260f405a
commit 2a0cc9e8d4

View File

@ -3,5 +3,6 @@ const mysql = require('./mysql');
module.exports = {
sqlite3: sqlite3,
mysql: mysql
mysql: mysql, //TODO: remove this once we switch to `mysql2`
mysql2: mysql
};