add set db to dialect