title: MYSQL Merging tag tables into one
body: <p>I have tables to organize tags..</p>
  
  <p>3 tables for articles and article tags: </p>
  
  <pre><code>article_tags
  ---
  tag_id *
  tag_name
  
  articles
  ---
  article_id *
  article_name 
  
  individual_article_tags
  ----
  article_id *
  tag_id *
  </code></pre>
  
  <p>AND 3 separate tables for images and images tags</p>
  
  <pre><code>image_tags
  ---
  tag_id *
  tag_name
  
  images
  ---
  image_id *
  image_name 
  
  individual_image_tags
  ----
  image_id *
  tag_id *
  </code></pre>
  
  <p>I want the articles and images tables to reference Only 1 tag table instead of 2 tag tables like so:   </p>
  
  <pre><code>tags
  ---
  tag_id *
  tag_name
  
  articles
  ---
  article_id *
  article_name 
  
  individual_article_tags
  ----
  article_id *
  tag_id *
  
  images
  ---
  image_id *
  image_name 
  
  individual_image_tags
  ----
  image_id *
  tag_id *
  </code></pre>
  
  <p>The problem is that the tags have different IDs and I don't know how to merge them.. </p>