+34
−29
+4
−13
comments/update_votes.sql
0 → 100644
+4
−0
Loading
The script update_votes.sql calculates the values for that column based on the entries in votes table. This is an optimization to avoid aggregating the votes in a separate table every time we retrieve comments. Also updated examples.sql to use the new full_visible_comments view - this greatly simplified all queries.