Database structure.