db query builder bugfixes
db tests for query buidler updated
db migrator cleanup
db utils cleanup