unify db schema