added model/table relationships