不要怂,就是干,撸起袖子干!

Commit 0ce1a625 by sdepold

removed obsolete Model.Events

1 parent 78c2475a
Showing with 0 additions and 6 deletions
......@@ -21,12 +21,6 @@ module.exports = (function() {
}
Utils._.extend(Model.prototype, Mixin.prototype)
Model.Events = {
insert: 'InsertQuery',
update: 'UpdateQuery',
destroy: 'DestroyQuery'
}
Object.defineProperty(Model.prototype, 'sequelize', {
get: function(){ return this.__definition.modelManager.sequelize }
})
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!