diff --git a/lib/Associations/One.js b/lib/Associations/One.js index aa6ce1cf..6d34d91c 100644 --- a/lib/Associations/One.js +++ b/lib/Associations/One.js @@ -130,7 +130,7 @@ function extendInstance(Model, Instance, Driver, association, opts, cb) { }, enumerable: false }); - if (association.reversed) { + if (!association.reversed) { Object.defineProperty(Instance, association.delAccessor, { value: function (cb) { Instance[association.field] = 0;