fix: sql req diff displaying deleted squads

This commit is contained in:
norohind committed 2022-05-03 22:47:09 +03:00
1 parent 19cec1fa0e
commit bfd68f9afa
1 file changed
+1 -1
+1 -1
View File
@@ -108,7 +108,7 @@ with origin_record as (
coalesce(new_stats.score, 0) as "total_experience",
coalesce(old_stats.score, 0) as "total_experience_old",
coalesce(new_stats.score, 0) - coalesce(old_stats.score, 0) as "total_experience_diff",
new_stats.action_id as action_id
coalesce(new_stats.action_id, old_stats.action_id) as action_id
from (
select *
from squads_stats_states_data