i have a project table which has a image_id
field and a newsimage_id
field.
Both are linked to the image table. But InnoDB doesn't allow me to set a foreign key for
both fields to the same column (id
).
Is there a way I can do this or is it not possible? I'm using MySQL through MAMP.
Thanks in advance!!