Changed db_query() to db_insert. Adding mappings now works.
Merge branch 'master' of github.com:desi-scratch/d.o_zohocrm