diff --git a/core/server/models/base/index.js b/core/server/models/base/index.js index 12569da375..e0b7f8975a 100644 --- a/core/server/models/base/index.js +++ b/core/server/models/base/index.js @@ -113,6 +113,8 @@ ghostBookshelf.Model = ghostBookshelf.Model.extend({ * If the query runs in a txn, `_previousAttributes` will be empty. */ emitChange: function (model, event, options) { + debug(model.tableName, event); + const previousAttributes = model._previousAttributes; if (!options.transacting) {