From 5bb347d8afa22b38992e67c41e5589d54e972d3a Mon Sep 17 00:00:00 2001 From: timofejmalinin Date: Thu, 31 Aug 2023 23:31:38 +0400 Subject: [PATCH] fix sql command --- service/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/utils.py b/service/utils.py index 9a2afcf..539c148 100644 --- a/service/utils.py +++ b/service/utils.py @@ -24,7 +24,7 @@ def run_psql_command(): ) try: cursor = connection.cursor() - command = "CALL public.pivot_wider();" + command = "CALL public.pivot_dist();" cursor.execute(command) connection.commit() except psycopg2.Error as e: