title: database-design: table of likes?
body: <p>I wonder,<br>
  at many websites there is the option to like/dislike a post.<br>
  even here of course, at stackoverflow.  </p>
  
  <p>so, technically it's a big likes table?  </p>
  
  <pre><code>user_id    post_id
  </code></pre>
  
  <p>user_id - who voted<br>
  post_id - which post is it</p>
  
  <p>is that all about?<br>
  a big likes table?<br>
  isn't there something more efficient/sophisticated?    </p>