Emit logging event
This commit is contained in:
parent
4442b42ace
commit
e9f35fd7fd
|
@ -100,7 +100,8 @@ Schema.prototype.autoupdate = function (cb) {
|
|||
}
|
||||
};
|
||||
|
||||
Schema.prototype.log = function () {
|
||||
Schema.prototype.log = function (sql, t) {
|
||||
this.emit('log', sql, t);
|
||||
};
|
||||
|
||||
Schema.prototype.freeze = function freeze() {
|
||||
|
|
Loading…
Reference in New Issue