clean db schema