relator relationships and db creation work