backend and db schema