Skip to content
This repository has been archived by the owner on Dec 14, 2023. It is now read-only.

Commit

Permalink
Merge branch 'master' into release
Browse files Browse the repository at this point in the history
  • Loading branch information
hroberts committed Sep 25, 2020
2 parents cc26b05 + 17c0666 commit e7cd5d6
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ insert into media_stats as old ( media_id, num_stories, num_sentences, stat_date
from
story_sentences ss
where
ss.story_sentences_id between $ss_id and $max_ss_id
ss.story_sentences_id between $ss_id and $max_ss_id and
ss.publish_date is not null
group by media_id, stat_date
on conflict ( media_id, stat_date ) do update set
Expand Down

0 comments on commit e7cd5d6

Please sign in to comment.