REGISTRAR: compatibility while enabling/disabling notifications

- Cast boolean to varchar on Postgresql.
Merge pull request #468 from zlamalp/registrar

REGISTRAR: compatibility while enabling/disabling notifications