table for pictures with an id, an alt text for html <img> tag and the path. Now I have multiple sources in my project which need those images, some need multiple, some only a single one.
Do I need a separate table for each source <-> image relation or is there some kind of clever solution which packs all this into one or two tables?
You should use a separate table to keep track of the source <-> image relations.
Обсуждают сегодня