Pass foreignKey definition to backyard