I have "customers", "products" and "versions" tables.Each customer, can have more than one product, and each product has more than one version. I have created many-to-many relation "customers_products" and everything works perfect.
Also I have created one-to-many relation between "products" and "versions".
QUESTION: How to add an extra column (version_id) in "customers_products" table so I can build form where user can choose products and version to create new customer.