Added support for M:1 relationships in the generated scaffold