db schema for drilling