pre db schema