db schema for server