add comment to schema-d
add comments/play around with db fn patters