Skip to content

Commit

Permalink
feat: Adds "AFTER" constraint at createColumnConstraint
Browse files Browse the repository at this point in the history
Signed-off-by: Fábio Bachi <fabio.bachi@gmail.com>
  • Loading branch information
FabioBachi committed Apr 23, 2021
1 parent 6660aff commit c648049
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ var MysqlDriver = Base.extend({
);
return {
foreignKey: constraint.foreignKey,
constraints: [escapedName, t, len, constraint.constraints].join(' '),
constraints: [escapedName, t, len, constraint.constraints].join(' ')
};
},

Expand Down Expand Up @@ -485,12 +485,12 @@ var MysqlDriver = Base.extend({
this.connection.end(cb);
}.bind(this)
).nodeify(callback);
},
}
});

Promise.promisifyAll(MysqlDriver);

function dummy() {
function dummy(){
arguments[arguments.length - 1]('not implemented');
}

Expand Down

0 comments on commit c648049

Please sign in to comment.