Draft: refactor follows and update_nofications indexing
Compare changes
- Krzysztof Leśniak authored
The issue was that resets were not effective and were not deleting rows. This is because following is set to NULL in the incoming data. So, when the query was joining against accounts table, the resets rows were skipped, because there was no matching account. To fix this the JOIN on the following column needs to be LEFT JOIN.
@@ -278,7 +278,7 @@ AS $BODY$
@@ -305,7 +305,7 @@ AS $BODY$
@@ -332,7 +332,7 @@ AS $BODY$
@@ -359,7 +359,7 @@ AS $BODY$
@@ -386,7 +386,7 @@ AS $BODY$