title: Auto Increment column when row is updated
body: <p>I have a MySQL table with the structure seen below. The last column represents the number of downloads of a file. Each time a file is accessed, it's UUID changes.</p>
  
  <p>Table Structure:</p>
  
  <pre><code>+---------+--------------------+--------------+-------------+
  |  dKey   |     file_name      |     file     |  downloads  |
  +---------+--------------------+--------------+-------------+
  |  UUID   |     file.mp4       |  file alias  |      0      |
  |  UUID2  |  another_file.mov  |  file alias  |      3      |
  +---------+--------------------+--------------+-------------+
  </code></pre>
  
  <p>I was wondering if there is a way to increment the download count if the row is updated. It's not a requirement, I can change it when I change the UUID, I was just wondering if there was a way to do this.</p>
  
  <p>I looked around and couldn't find anything that showed how to do it, or if it couldn't be done.</p>