Skip to content

Commit

Permalink
fix: missing coalesce for place_description
Browse files Browse the repository at this point in the history
  • Loading branch information
Sieboldianus committed Sep 19, 2019
1 parent 23559d5 commit c6457d5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lbsntransform/classes/submit_data.py
Expand Up @@ -421,6 +421,8 @@ def place_insertsql(self, values_str, record_type):
post_count = GREATEST(COALESCE(EXCLUDED.post_count,
data."place".post_count), COALESCE(
data."place".post_count, EXCLUDED.post_count)),
place_description = COALESCE(
EXCLUDED.place_description, data."place".place_description),
place_website = COALESCE(
EXCLUDED.place_website, data."place".place_website),
place_phone = COALESCE(
Expand Down

0 comments on commit c6457d5

Please sign in to comment.