sequelize/sequelize — pull request #2540 by seth-admittedly (2014-11-06 17:42:35+00:00)
Title: Undestroy method for paranoid models

Undestroy allows for restoring destroyed paranoid models. Mirrors the syntax of destroy, with both model (bulk) and instance options.

Implementing this without resorting to manual SQL required tweaking the query generator to allow for omitNull to be passed as an option with an individual query.