mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
parent
4b5cfbde2e
commit
f68633df20
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ function getTablesFromSqlite3() {
|
|||
}
|
||||
|
||||
function getTablesFromMySQL() {
|
||||
knex.Raw("show tables").then(function (response) {
|
||||
return knex.Raw("show tables").then(function (response) {
|
||||
return _.flatten(_.map(response, function (entry) {
|
||||
return _.values(entry);
|
||||
}));
|
||||
|
|
Loading…
Add table
Reference in a new issue