Database schema for MDPX