Storing likes and dislikes in database
<p>Guys what is the best database model for storing user <code>likes</code> and <code>dislikes</code>?
Is good approach to have separated table like below ?: </p>

<p><strong>1.</strong> tbl_post_likes</p>

<p><strong>2.</strong> tbl_post_dislikes</p>

<p><strong>tbl_post_likes has:</strong></p>

<pre><code>id  |  post_id&lt;fg&gt;  | account_id&lt;fg&gt; | etc...
</code></pre>

<p><strong>tbl_post_dislikes has:</strong></p>

<pre><code>id  |  post_id&lt;fg&gt;  | account_id&lt;fg&gt; | etc...
</code></pre>

<p>Or is better to all this put in one table? But i think one table is bad approach?</p>

<p>I need this for my blog posts where only registred user can to like and dislike post items. If user already liked only enable dislike and the some.</p>