Database storage plugin for tiq