move db to logutils-activerecord