Merge branch 'stadia-patch-1'

remotes/origin/issue/4795/notification_even_they_are_disabled
David Barragán Merino 2016-10-18 11:56:54 +02:00
commit a64c08d2ad
1 changed files with 2 additions and 2 deletions

View File

@ -12,11 +12,11 @@ WITH status_update AS(
WITH status_update AS(
WITH history_entries AS (
SELECT
diff#>>'{status, 1}' new_status_id,
diff #>>'{status, 1}' new_status_id,
regexp_split_to_array(key, ':') as split_key,
created_at as date
FROM history_historyentry
WHERE diff#>>'{status, 1}' != ''
WHERE diff #>>'{status, 1}' != ''
)
SELECT
split_key[2] as object_id,