db table defs