Product connected to a space?


So I have the following DBs:

  • User
  • Product
  • Spaces

Each space can have 2 users and a user can only belong to a space. Each product belongs to a space unless they’re global.

The users can add a new product to their space. But here is the problem… I can’t automatically assign the user’s space to the new product, it doesn’t show up un the list of fields for the product at all:

What am I doing wrong here? :frowning:

Ok, so I had it this way: a space can belong to multiply products and a product can belong to multiply spaces… Think that was my problem.