Skip to content

Commit 338c1e3

Browse files
authored
Changed addIndex from this.query to this.execute
Signed-off-by: David Knapp <[email protected]>
1 parent e8bf497 commit 338c1e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/migration.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1003,7 +1003,7 @@ function mixinMigration(PostgreSQL) {
10031003
});
10041004

10051005
// console.log(sql.join('\n\n'));
1006-
this.query(sql.join(';\n'), cb);
1006+
this.execute(sql.join(';\n'), [], options, cb);
10071007
};
10081008

10091009
function normalizeIndexKeyDefinition(keys) {

0 commit comments

Comments
 (0)