fix favcount
This commit is contained in:
2
script/fixes/003.sql
Normal file
2
script/fixes/003.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
set statement_timeout = 0;
|
||||
update posts set fav_count = (select count(*) from favorites _ where _.post_id = posts.id) where posts.created_at > '2013-02-01';
|
||||
Reference in New Issue
Block a user