From c1678b8d8da07add1429c0132d9dd1cb39a1961c Mon Sep 17 00:00:00 2001 From: norohind <60548839+norohind@users.noreply.github.com> Date: Tue, 30 Nov 2021 17:08:20 +0300 Subject: [PATCH] Show entries with Diff < 0 (in theory, deleted squads) --- model/postgres_sql_requests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model/postgres_sql_requests.py b/model/postgres_sql_requests.py index 4ee43ba..5b3c9af 100644 --- a/model/postgres_sql_requests.py +++ b/model/postgres_sql_requests.py @@ -51,7 +51,7 @@ from order by timestamp desc ) as foo1 -where (sum_score - sum_score_old) > 0 +where (sum_score - sum_score_old) <> 0 limit %(limit)s;""" select_diff_by_action_id = """select