title: How to create a relation N:N and 1:N in the same table?
body: <p>I have one table to register all my images for example clients logo, users photos and promotions images. The problem is that one promotion might have more than one image. As I use this table for other imagens besides from promotion, I can´t use a foreign key inside it. So my doubt is what to do, create a intermediate table between promotions and images or create a table only for promotions images.</p>
  
  <p>Thank you</p>