complete basal database design