Skip to content

Commit

Permalink
refs bug fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
helloyou2012 committed Jul 6, 2020
1 parent 99fd9cd commit 71574ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/dialects/mysql/schema/tablecompiler.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ Object.assign(TableCompiler_MySQL.prototype, {
output(resp) {
const column = resp[0];
const runner = this;
return compiler.getFKRefs(runner).then(([refs]) =>
return compiler.getFKRefs(runner).then((refs) =>
new Promise((resolve, reject) => {
try {
if (!refs.length) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sk2",
"version": "1.1.0",
"version": "1.1.1",
"description": "knex with sequelize query",
"main": "index.js",
"types": "types/index.d.ts",
Expand Down

0 comments on commit 71574ff

Please sign in to comment.